Skip to content

Commit

Permalink
testing tagged release in Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
spamegg1 committed Nov 25, 2024
1 parent d533e43 commit 069f258
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Create tag
id: create_tag
run: |
tag_name="v1.0.${{ github.run_number }}"
git tag $tag_name
git push origin $tag_name
- name: Set up Git repository
uses: actions/checkout@v4
- name: Compile LaTeX document
Expand All @@ -20,12 +26,6 @@ jobs:
# 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/')
Expand Down

0 comments on commit 069f258

Please sign in to comment.