Skip to content

Commit

Permalink
Add delete-older-releases action
Browse files Browse the repository at this point in the history
  • Loading branch information
nekohasekai committed Nov 15, 2023
1 parent 94f1618 commit b589354
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,9 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./geosite.db.sha256sum
asset_name: geosite.db.sha256sum
asset_content_type: text/plain
asset_content_type: text/plain
- uses: dev-drprasad/delete-older-releases@v0.3.2
with:
keep_latest: 3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b589354

Please sign in to comment.