Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
briancpark committed Dec 17, 2023
1 parent b756afa commit 0edd0c2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/latex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ jobs:
- name: Find PDF files
working-directory: hw/latex
id: find_pdfs
run: echo "::set-output name=pdfs::$(ls *.pdf)"
run: |
echo "pdfs=$(ls hw/latex/*.pdf)" >> $GITHUB_OUTPUT
upload-pdfs:
needs: build-and-lint
Expand All @@ -58,8 +59,8 @@ jobs:
matrix:
pdf: ${{ fromJson(needs.build-and-lint.outputs.pdfs) }}
steps:
- name: Upload PDF
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.pdf }}
path: hw/latex/${{ matrix.pdf }}
- name: Upload PDF
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.pdf }}
path: hw/latex/${{ matrix.pdf }}

0 comments on commit 0edd0c2

Please sign in to comment.