diff --git a/.github/workflows/pdf.yml b/.github/workflows/pdf.yml index 4808553..0cbb5b7 100644 --- a/.github/workflows/pdf.yml +++ b/.github/workflows/pdf.yml @@ -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 \ No newline at end of file + 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