From a11434843387c5e7bfb84a56974c75421657d26b Mon Sep 17 00:00:00 2001 From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> Date: Fri, 24 Nov 2023 21:11:33 +0200 Subject: [PATCH] Suffix unstable packages with git hash --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b149993a..041bbff9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,7 @@ jobs: with: windows-only: true deploy: ${{ inputs.deploy || github.ref_type == 'tag' }} - package-version: ${{ inputs.package-version || (github.ref_type == 'tag' && github.ref_name) || '0.0.0' }} + package-version: ${{ inputs.package-version || (github.ref_type == 'tag' && github.ref_name) || format('0.0.0-ci-{0}', github.sha) }} dotnet-version: 8.0.x secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}