From d533e4365c8260322b3755a63cdce6494aefe20a Mon Sep 17 00:00:00 2001 From: spamegg Date: Mon, 25 Nov 2024 21:30:09 +0300 Subject: [PATCH] update actions - upload does not do what I need, let's try releasing again --- .github/workflows/workflow.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) 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 }}