diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e8571f2a1..b098619615 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -185,7 +185,7 @@ jobs: dir=$(echo lean-*) mkdir pack # high-compression tar.zst + zip for release, fast tar.zst otherwise - if [[ '${{ startsWith(github.ref, 'refs/tags/v') && matrix.release }}' == true || -n '${{ needs.set-nightly.outputs.nightly }}' ]]; then + if [[ '${{ startsWith(github.ref, 'refs/tags/') && matrix.release }}' == true || -n '${{ needs.set-nightly.outputs.nightly }}' ]]; then ${{ matrix.tar || 'tar' }} cf - $dir | zstd -T0 --no-progress -19 -o pack/$dir.tar.zst zip -rq pack/$dir.zip $dir else @@ -235,7 +235,7 @@ jobs: run: ccache -s release: - if: startsWith(github.ref, 'refs/tags/v') + if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest needs: build steps: