👷 Remove older release before uploading new

This commit is contained in:
Nikhil Badyal
2022-09-04 23:42:47 +05:30
parent 7520ccb4a8
commit f1bb50c802
+6
View File
@@ -32,6 +32,12 @@ jobs:
run: | run: |
echo ::set-output name=date::$(TZ='Asia/Kolkata' date +"%Y.%m.%d-%H.%M.%S") echo ::set-output name=date::$(TZ='Asia/Kolkata' date +"%Y.%m.%d-%H.%M.%S")
- name: Delete Older Releases
uses: nikhilbadyal/ghaction-rm-releases@main
with:
github_token: ${{ secrets.GH_TOKEN }}
release_pattern: 'Build*'
- name: Upload Build Artifact - name: Upload Build Artifact
uses: ncipollo/release-action@v1.10.0 uses: ncipollo/release-action@v1.10.0
with: with: