diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 41042b8..635eb3b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,7 +20,7 @@ jobs: uses: Tyrrrz/.github/.github/workflows/nuget.yml@master with: 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 # Don't use the default logger (which is GitHubActionsTestLogger) because that # causes contention issues since we're literally building and testing that logger.