diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 7e581555a35..df8704dae13 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -464,12 +464,15 @@ 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-* - path: binaries - merge-multiple: true + with: + pattern: cabal-* + path: binaries + merge-multiple: true - name: Create GitHub prerelease uses: softprops/action-gh-release@v2 @@ -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-*