From 994901461ef9cd8838741822b65c381978838b2e Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Fri, 8 Nov 2024 09:34:29 -0500 Subject: [PATCH] CI: remove cabal{,-lts}-head before updating it (fix #10537) --- .github/workflows/validate.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 7e581555a35..17c6ff9d3f2 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -464,7 +464,10 @@ jobs: needs: [validate, validate-old-ghcs, build-alpine, dogfooding] steps: - # for now this is hardcoded. is there a better way? + - uses: liudonghua123/delete-release-action@v1 + with: + release_name: 'cabal-head' + - uses: actions/download-artifact@v4 with: pattern: cabal-* @@ -490,6 +493,10 @@ jobs: needs: [validate, validate-old-ghcs, build-alpine, dogfooding] steps: + - uses: liudonghua123/delete-release-action@v1 + with: + release_name: 'cabal-lts-head' + - uses: actions/download-artifact@v4 with: pattern: cabal-*