From 168caa330f522e2b694ac0397463fe74c7dfd78a Mon Sep 17 00:00:00 2001 From: Timothy Baldridge Date: Tue, 16 Aug 2022 06:44:11 -0600 Subject: [PATCH] Update release pipeline --- .github/workflows/release.yml | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 31e70a97..b6b1961f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,15 +8,18 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - name: Extract Version - run: echo "VERSION=$(python scripts/version_extract.py)" >> $GITHUB_ENV - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 6.0.x - - name: Restore dependencies ${{ env.VERSION }} - run: dotnet restore - - name: Build ${{ env.VERSION }} - run: dotnet build - + - uses: actions/checkout@v2 + - name: Extract Version + run: echo "VERSION=$(python scripts/version_extract.py)" >> $GITHUB_ENV + - name: Setup .NET + 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