From 4d61eac7141534c646367a983a84c06f6e10ee9d Mon Sep 17 00:00:00 2001 From: Dan Oak Date: Sun, 12 Nov 2023 22:53:41 +0000 Subject: [PATCH] Add Setup --- .github/workflows/ci.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 621228a..db84253 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,9 +20,11 @@ jobs: - name: Build & Publish Version ${{ github.run_number }} run: | cd src/EndlessOnlinePatcher.Desktop - dotnet build --configuration Release --no-restore /p:EnableWindowsTargeting=true - dotnet publish EndlessOnlinePatcher.Desktop.csproj -c Release -o ../dist/self-contained -r win-x64 --self-contained true /p:Version=0.0.0.${{ github.run_number }} /p:EnableWindowsTargeting=true /p:PublishSingleFile=true - dotnet publish EndlessOnlinePatcher.Desktop.csproj -c Release -o ../dist/framework-dependant -r win-x64 --self-contained false /p:Version=0.0.0.${{ github.run_number }} /p:EnableWindowsTargeting=true /p:PublishSingleFile=true + dotnet build --configuration Release --no-restore /p:EnableWindowsTargeting=true /p:Version=0.0.0.${{ github.run_number }} + dotnet publish EndlessOnlinePatcher.Desktop.csproj --no-build -c Release -o ../dist/self-contained -r win-x64 --self-contained true /p:EnableWindowsTargeting=true /p:PublishSingleFile=true + dotnet publish EndlessOnlinePatcher.Desktop.csproj --no-build -c Release -o ../dist/framework-dependant -r win-x64 --self-contained false /p:EnableWindowsTargeting=true /p:PublishSingleFile=true + cd ../EndlessOnlinePatcher.Setup + dotnet build --configuration Release -o ../dist/setup --no-restore /p:EnableWindowsTargeting=true /p:Version=0.0.0.${{ github.run_number }} - name: Upload Self Contained uses: actions/upload-artifact@v3 with: @@ -32,4 +34,9 @@ jobs: uses: actions/upload-artifact@v3 with: name: Endless.Online.Patcher.Desktop.Framework.Dependant.0.0.0.${{ github.run_number }} - path: src/dist/framework-dependant/EndlessOnlinePatcher.Desktop.exe \ No newline at end of file + path: src/dist/framework-dependant/EndlessOnlinePatcher.Desktop.exe + - name: Upload Setup + uses: actions/upload-artifact@v3 + with: + name: Endless.Online.Patcher.Setup.0.0.0.${{ github.run_number }} + path: src/dist/setup/EndlessOnlinePatcherSetup.exe \ No newline at end of file