Skip to content

Commit

Permalink
fix: Updates tag output, and changes release asset uploader base action
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 committed Jul 29, 2024
1 parent 8bcf92c commit 5b1190f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
else
echo "TAG_NAME=${{ github.ref }}" >> $GITHUB_ENV
fi
echo "Determined TAG_NAME=${{ env.TAG_NAME }}"
- name: 📤 Download PDF artifact
uses: actions/download-artifact@v2
Expand All @@ -89,9 +90,7 @@ jobs:
prerelease: false

- name: 📤 Upload PDF to Release
uses: actions/upload-release-asset@v1
uses: softprops/action-gh-release@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: out/${{ env.PDF_NAME }}
asset_name: ${{ env.PDF_NAME }}
asset_content_type: application/pdf
files: out/${{ env.PDF_NAME }}
token: ${{ secrets.BOT_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
NEW_TAG=${{ env.NEW_TAG }}
DESCRIPTION="${{ github.event.inputs.description }}"
git tag -a "$NEW_TAG" -m "$DESCRIPTION"
echo "::set-output name=new_tag::$NEW_TAG"
echo "new_tag=$NEW_TAG" >> $GITHUB_OUTPUT
- name: 🚀 Push New Tag
run: |
Expand Down

0 comments on commit 5b1190f

Please sign in to comment.