Skip to content

Commit

Permalink
Add Remove Older Release in Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gapuchi committed Jun 4, 2024
1 parent 1219e38 commit c6b2540
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,10 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: result/resume.pdf
asset_name: resume.pdf
asset_content_type: application/pdf
asset_content_type: application/pdf

- name: Remove Older Releases
uses: wow-actions/delete-stale-releases@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
keep_latest_count: 1

0 comments on commit c6b2540

Please sign in to comment.