Skip to content

Commit

Permalink
update to new steps
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 06852ba commit 0d56765
Showing 1 changed file with 8 additions and 19 deletions.
27 changes: 8 additions & 19 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,12 @@ jobs:
with:
name: sponsordoc
path: sponsordoc.pdf
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# deploy:
# name: Create Release
# needs: build_latex
# runs-on: ubuntu-latest
# steps:
- name: Release
uses: softprops/action-gh-release@v2
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:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./sponsordoc.pdf
asset_name: sponsordoc-${{ github.ref }}.pdf
asset_content_type: pdf
files: sponsordoc.pdf

0 comments on commit 0d56765

Please sign in to comment.