Skip to content

Commit

Permalink
:|
Browse files Browse the repository at this point in the history
  • Loading branch information
bkacjios committed Jan 3, 2025
1 parent 9c89856 commit 93732da
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ jobs:
run: |
RELEASE_TAG="v$(date +'%Y%m%d%H%M%S')" # Create a version tag based on the current date and time
echo "Release tag: $RELEASE_TAG"
echo "RELEASE_TAG=$RELEASE_TAG" >> $GITHUB_ENV
echo "::set-output name=release_tag::$RELEASE_TAG"
echo "::set-output name=release_tag::$RELEASE_TAG" # Set the release tag as an output variable
- name: Create Release
id: create_release
Expand Down Expand Up @@ -112,7 +111,7 @@ jobs:
ZIP_FILE="release-gcc.zip"
if [ -f "$ZIP_FILE" ]; then # Check if the zip file was created
echo "Uploading $ZIP_FILE to release ${{ needs.create_release.outputs.release_tag }}"
gh release upload ${{ needs.create_release.outputs.release_tag }} $ZIP_FILE --clobber # Upload the zip file to the single release using the release tag
gh release upload ${{ needs.create_release.outputs.release_tag }} $ZIP_FILE --clobber # Upload the zip file to the single release
else
echo "Error: $ZIP_FILE does not exist."
exit 1
Expand All @@ -126,7 +125,7 @@ jobs:
ZIP_FILE="release-clang.zip"
if [ -f "$ZIP_FILE" ]; then # Check if the zip file was created
echo "Uploading $ZIP_FILE to release ${{ needs.create_release.outputs.release_tag }}"
gh release upload ${{ needs.create_release.outputs.release_tag }} $ZIP_FILE --clobber # Upload the zip file to the single release using the release tag
gh release upload ${{ needs.create_release.outputs.release_tag }} $ZIP_FILE --clobber # Upload the zip file to the single release
else
echo "Error: $ZIP_FILE does not exist."
exit 1
Expand Down

0 comments on commit 93732da

Please sign in to comment.