Switch to a new versioning strategy

This commit is contained in:
Tyrrrz
2023-11-23 18:39:03 +02:00
parent 40f106d0b0
commit 914e8e17cd
4 changed files with 7 additions and 4 deletions

View File

@@ -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 }}
package-version: ${{ inputs.package-version || (github.ref_type == 'tag' && github.ref_name) || '0.0.0' }}
dotnet-version: 8.0.x
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}