From 845bcc5a91034494b3b9c711b26e842f26cf5dbe Mon Sep 17 00:00:00 2001 From: Maxim Date: Sun, 6 Oct 2024 20:21:33 +0100 Subject: [PATCH] Try github.run_number --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0672b4..d06e2ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: shell: cmd run: | cd editor - dotnet publish sth1edwv.sln --configuration Release --output foo /p:Version=0.${{env.GITHUB_RUN_NUMBER}}+${{github.sha}} --runtime win-x64 -p:PublishSingleFile=true --no-self-contained + dotnet publish sth1edwv.sln --configuration Release --output foo /p:Version=0.${{github.run_number}}+${{github.sha}} --runtime win-x64 -p:PublishSingleFile=true --no-self-contained 7z a program.zip .\foo\* - name: Make artifact @@ -33,7 +33,7 @@ jobs: uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{secrets.GITHUB_TOKEN}}" - automatic_release_tag: "v0.${{env.GITHUB_RUN_NUMBER}}" + automatic_release_tag: "v0.${{github.run_number}}" prerelease: false - title: "Automatic build #${{env.GITHUB_RUN_NUMBER}}" + title: "Automatic build #${{github.run_number}}" files: editor/program.zip