Skip to content

Commit

Permalink
Add delete-older-releases action
Browse files Browse the repository at this point in the history
nekohasekai committed Nov 15, 2023

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 5362d9e commit b1dc5b3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -28,6 +28,11 @@ jobs:
run: |
sha256sum geoip.db > geoip.db.sha256sum
sha256sum geoip-cn.db > geoip-cn.db.sha256sum
- uses: dev-drprasad/delete-older-releases@v0.3.2
with:
keep_latest: 3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create a release
if: steps.build.outputs.skip != 'true'
id: create_release

0 comments on commit b1dc5b3

Please sign in to comment.