Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI/CD pipeline #7

Merged
merged 1 commit into from
Sep 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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