From 9a27a083ab6aa90d296001766c9b92ce8174b9ac Mon Sep 17 00:00:00 2001 From: unclshura Date: Sat, 16 May 2026 20:00:53 +0100 Subject: [PATCH] Fixing the actions --- .github/workflows/publish.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 634c7da..7d3e8cf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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