Fixing the actions

This commit is contained in:
Alexander Shabarshov 2026-05-16 20:00:53 +01:00
parent c2d24a36b9
commit 9a27a083ab

View File

@ -23,16 +23,14 @@ jobs:
run: dotnet restore -r win-x64
- name: Build Release
env:
GITHUB_RUN_NUMBER: ${{ github.run_number }}
GITHUB_SHA: ${{ github.sha }}
run: dotnet build -c Release --no-restore
run: dotnet build -c Release --no-restore `
/p:BuildNumber=${{ github.run_number }} `
/p:SourceRevisionId=${{ github.sha }}
- name: Publish Release
env:
GITHUB_RUN_NUMBER: ${{ github.run_number }}
GITHUB_SHA: ${{ github.sha }}
run: dotnet publish -c Release -r win-x64 --self-contained true --no-build
run: dotnet publish -c Release -r win-x64 --self-contained true --no-build `
/p:BuildNumber=${{ github.run_number }} `
/p:SourceRevisionId=${{ github.sha }}
- name: Create ZIP
shell: pwsh