Skip to content

Commit 45449d1

Browse files
ulysses4evergeekosaur
authored andcommitted
CI: remove cabal{,-lts}-head before updating it (fix #10537)
(cherry picked from commit 9949014)
1 parent d4cfaa4 commit 45449d1

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/validate.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,10 @@ jobs:
451451
needs: [validate, validate-old-ghcs, build-alpine, dogfooding]
452452

453453
steps:
454-
# for now this is hardcoded. is there a better way?
454+
- uses: liudonghua123/delete-release-action@v1
455+
with:
456+
release_name: 'cabal-head'
457+
455458
- uses: actions/download-artifact@v4
456459
with:
457460
pattern: cabal-*
@@ -476,7 +479,9 @@ jobs:
476479
needs: [validate, validate-old-ghcs, build-alpine, dogfooding]
477480

478481
steps:
479-
- run: echo "|${{ github.ref }}|${{ github.base_ref }}|"
482+
- uses: liudonghua123/delete-release-action@v1
483+
with:
484+
release_name: 'cabal-lts-head'
480485

481486
- uses: actions/download-artifact@v4
482487
with:

0 commit comments

Comments
 (0)