From 0388ff867f8407550d7ab1c040bd15a18c06a12f Mon Sep 17 00:00:00 2001 From: Ari Dyckovsky Date: Sun, 5 May 2024 12:23:44 -0400 Subject: [PATCH] add artifact downloading before tag and release to include the uploaded artifact from build --- .github/workflows/create-pdf.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-pdf.yml b/.github/workflows/create-pdf.yml index 2377ab0..b79a490 100644 --- a/.github/workflows/create-pdf.yml +++ b/.github/workflows/create-pdf.yml @@ -22,7 +22,7 @@ jobs: with: root_file: cv.tex working_directory: cv - - name: Upload + - name: Upload Artifact uses: actions/upload-artifact@v4 with: name: cv @@ -35,6 +35,11 @@ jobs: needs: build if: github.ref == 'refs/heads/main' steps: + - name: Download Artifact + uses: actions/download-artifact@v4 + with: + name: cv + path: cv/cv.pdf - name: Tag id: generate_release_tag uses: amitsingh-007/next-release-tag@v5.1.0