Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
- upload does not do what I need, let's try releasing again
  • Loading branch information
spamegg1 committed Nov 25, 2024
1 parent a5ed4d6 commit d533e43
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit d533e43

Please sign in to comment.