Skip to content

Commit

Permalink
try handling artifact download gracefully
Browse files Browse the repository at this point in the history
  • Loading branch information
aridyckovsky committed May 5, 2024
1 parent 66482cc commit 1fb0d2d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/create-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,15 @@ jobs:
needs: build
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Download Artifact
uses: actions/download-artifact@v4
with:
name: cv
path: cv/cv.pdf
path: cv
- name: Tag
id: generate_release_tag
uses: amitsingh-007/[email protected]
Expand All @@ -51,5 +55,5 @@ jobs:
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.generate_release_tag.outputs.next_release_tag }}
artifacts: "cv/cv.pdf"
artifacts: "cv"
generateReleaseNotes: true

0 comments on commit 1fb0d2d

Please sign in to comment.