aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-03-05 22:43:54 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-03-05 22:50:18 +0100
commitb01c36807ec2fd07e21fac03cc201b2832425cf9 (patch)
tree9abd291743fececbdf04c0bb3eb26d8d61507ccf
parenteb5db3c26e69c406722efb243ef5577ce0d8987c (diff)
downloadjetpac.nes-b01c36807ec2fd07e21fac03cc201b2832425cf9.tar.gz
jetpac.nes-b01c36807ec2fd07e21fac03cc201b2832425cf9.zip
ci: clean up previous continuous releases
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
-rw-r--r--.github/workflows/build.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 215b74c..44c9761 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -34,6 +34,11 @@ jobs:
- name: Main task
run: V=1 make all
+ - name: Clean old release assets
+ run: gh release delete latest --yes --cleanup-tag || true
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
- name: Update releases page
uses: softprops/action-gh-release@v2
with: