Skip to content

Commit

Permalink
Update CI/CD pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo authored Sep 4, 2024
1 parent 69ed49f commit 819184e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/latex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:

compile_latex:
name: Compile LaTeX
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install LaTeX
run: |
Expand All @@ -27,28 +27,28 @@ jobs:
run: ls -lah .

- name: Upload PDF
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: thesis.pdf
name: document

release_pdf:
name: Create release
needs: [ compile_latex ]
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

steps:

- name: Download PDF
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: document

- name: Inspect folder
run: ls -lah .

- name: Release PDF
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: thesis.pdf
Expand Down

0 comments on commit 819184e

Please sign in to comment.