Update release.yml

This commit is contained in:
Timothy Baldridge 2022-08-16 15:14:05 -06:00 committed by GitHub
parent 0db9ebeed9
commit 011aa23b3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ on:
jobs:
build:
runs-on: Default
runs-on: release-builder
steps:
- uses: actions/checkout@v2
@ -15,11 +15,5 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Restore dependencies ${{ env.VERSION }}
run: dotnet restore
- name: Build App ${{ env.VERSION }}
run: dotnet publish Wabbajack.App.Wpf\Wabbajack.App.Wpf.csproj --runtime win10-x64 --configuration Release /p:Platform=x64 -o ~/app --self-contained
- name: Build CLI ${{ env.VERSION }}
run: dotnet publish Wabbajack.CLI\Wabbajack.CLI.csproj --runtime win10-x64 --configuration Release /p:Platform=x64 -o ~/cli --self-contained
- name: Build Launcher ${{ env.VERSION }}
run: dotnet publish Wabbajack.Launcher\Wabbajack.Launcher.csproj --runtime win10-x64 --configuration Release /p:Platform=x64 -o ~/launcher /p:PublishedTrimmed=true /p:PublishReadyToRun=true /p:PublishSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true --self-contained
- name: Build
run: buildall.bat