Skip to content

Commit

Permalink
change the stesp to 1 large and and get release names
Browse files Browse the repository at this point in the history
Signed-off-by: Toshaan Bharvani <[email protected]>
  • Loading branch information
toshywoshy committed Jun 9, 2024
1 parent 5dd10b7 commit 06852ba
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,23 @@ jobs:
with:
name: sponsordoc
path: sponsordoc.pdf
outputs:
pdffile: ${{ steps.latexdoc.outputs.sponsordoc }}
deploy:
name: Create Release
needs: build_latex
runs-on: ubuntu-latest
steps:
- name: Release
uses: softprops/action-gh-release@v2
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: ${{ steps.build_latex.outputs.pdffile }}
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./sponsordoc.pdf
asset_name: sponsordoc-${{ github.ref }}.pdf
asset_content_type: pdf

0 comments on commit 06852ba

Please sign in to comment.