We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdb4823 commit 601e9d6Copy full SHA for 601e9d6
.github/workflows/build-toolchain.yml
@@ -238,9 +238,10 @@ jobs:
238
git config user.name github-actions
239
git config user.email [email protected]
240
- run: |
241
- VERSION=toolchain-$(date +%Y-%m-%d)-${{ inputs.build_number }}
+ VERSION=toolchain-$(date +%Y.%m.%d)
242
+ if [ "${{ inputs.build_number }}" != "0" ]; then VERSION="$VERSION-${{ inputs.build_number }}"; fi
243
git tag -a $VERSION -m "Release $VERSION"
244
git push --tags
- gh release create $VERSION artifacts/*
245
+ gh release create $VERSION artifacts/*/*
246
env:
247
GH_TOKEN: ${{ github.token }}
0 commit comments