Files
CreamInstaller/.github/workflows/autobuild.yml
T
Soul Shard c8a65f35bf Update to latest util versions, restore SmokeAPI
Utilities have been updated to the latest versions. The ability to use SmokeAPI instead of CreamAPI has been restored, and a checkbox has been added to switch between them.
2025-10-01 06:07:54 +07:00

39 lines
902 B
YAML

name: Autobuild
on:
push:
branches: [ main ]
tags:
- '*'
workflow_dispatch:
pull_request:
types: [ main ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore CreamInstaller.sln
- name: Build Release
run: dotnet build CreamInstaller.sln --configuration Release --no-restore
- name: Publish single-file
run: dotnet publish CreamInstaller.sln -c Release -r win-x64 -p:PublishSingleFile=true --self-contained true --output ./publish
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: CreamInstaller-release
path: ./publish/CreamInstaller.exe