Skip to content

Commit

Permalink
fixed tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
pelasgus committed Jul 3, 2024
1 parent eae1aaa commit 4cc4cb9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/pdf-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,19 @@ jobs:
with:
root_file: main.tex
latexmk_use_xelatex: true

- name: Tag the release
id: tag_release
run: |
TAG=v$(date +'%Y%m%d%H%M%S')
git tag $TAG
echo "::set-output name=tag::$TAG"
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.tag_release.outputs.tag }}
files: main.pdf
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 4cc4cb9

Please sign in to comment.