mirror of
https://github.com/FroggMaster/CreamInstaller.git
synced 2026-06-12 11:01:23 -07:00
c8a65f35bf
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.
39 lines
902 B
YAML
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
|