diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index aed5a1c..7300ff1 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -15,24 +15,24 @@ jobs: working_directory: src root_file: all.tex latexmk_shell_escape: true - - name: Upload PDF file - uses: actions/upload-artifact@v4 - with: - name: Epp - path: src/all.pdf + # - name: Upload PDF file + # uses: actions/upload-artifact@v4 + # with: + # name: Epp + # path: src/all.pdf # - name: Create tag # id: create_tag # run: | # tag_name="v1.0.${{ github.run_number }}" # git tag $tag_name # git push origin $tag_name - # - name: Release - # uses: softprops/action-gh-release@v2.1.0 - # if: startsWith(github.ref, 'refs/tags/') - # with: - # make_latest: true - # generate_release_notes: true - # preserve_order: true - # files: src/all.pdf - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Release + uses: softprops/action-gh-release@v2.1.0 + if: startsWith(github.ref, 'refs/tags/') + with: + make_latest: true + generate_release_notes: true + preserve_order: true + files: src/all.pdf + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}