diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index bece619..9f0f8c8 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -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