Skip to content

Commit

Permalink
Add Setup
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDanOak committed Nov 12, 2023
1 parent 7087a33 commit 4d61eac
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
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

0 comments on commit 4d61eac

Please sign in to comment.