Skip to content

Commit

Permalink
Update cross_comp_ubuntu.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
RGGH authored Nov 13, 2024
1 parent 08bd47c commit d2ad098
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cross_comp_ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
git tag $TAG
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
git push origin $TAG
echo "TAG=$TAG" >> $GITHUB_ENV # Set the tag as an environment variable for later use
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -53,14 +54,15 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: target/x86_64-unknown-linux-gnu/release/mif
tag_name: ${{ steps.tag.outputs.TAG }}
tag_name: ${{ env.TAG }} # Pass the tag name from environment variable
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload release assets
uses: softprops/action-gh-release@v1
with:
files: target/x86_64-unknown-linux-gnu/release/mif
tag_name: ${{ steps.tag.outputs.TAG }}
tag_name: ${{ env.TAG }} # Ensure the tag is passed here too
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d2ad098

Please sign in to comment.