From 0edd0c2a1437f63e97014091534b847550386c81 Mon Sep 17 00:00:00 2001 From: Brian Park Date: Sun, 17 Dec 2023 02:57:51 -0500 Subject: [PATCH] Update GitHub Actions --- .github/workflows/latex.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/latex.yml b/.github/workflows/latex.yml index 6fb2668..3af795f 100644 --- a/.github/workflows/latex.yml +++ b/.github/workflows/latex.yml @@ -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 @@ -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 }} \ No newline at end of file + - name: Upload PDF + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.pdf }} + path: hw/latex/${{ matrix.pdf }} \ No newline at end of file