From 3c80f1460f3f5eaf9d7139b43fd74ef43009a415 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sean=20O=E2=80=99Connor?= Date: Mon, 31 Aug 2026 16:04:47 -0400 Subject: [PATCH] Restore numbered PDF releases --- .github/workflows/compile-latex.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/compile-latex.yml b/.github/workflows/compile-latex.yml index 9820218..cfade4f 100644 --- a/.github/workflows/compile-latex.yml +++ b/.github/workflows/compile-latex.yml @@ -48,7 +48,7 @@ jobs: pages=$(pdfinfo resume.pdf | awk '/^Pages:/ {print $2}') echo "Resume pages: $pages" test "$pages" -eq 1 - - name: Upload Public PDFs as Release + - name: Update latest release uses: ncipollo/release-action@v1 with: artifacts: "resume.pdf,cv.pdf" @@ -61,3 +61,16 @@ jobs: allowUpdates: true removeArtifacts: true replacesArtifacts: true + - name: Create numbered release + if: github.event_name == 'push' + uses: ncipollo/release-action@v1 + with: + artifacts: "resume.pdf,cv.pdf" + tag: release-${{ github.run_number }} + name: Release ${{ github.run_number }} + body: | + Automated release #${{ github.run_number }} + Built from commit ${{ github.sha }} + token: ${{ secrets.GITHUB_TOKEN }} + draft: false + prerelease: false