From 06dc85453ed1e98a46b52124c997a8cc78a0a024 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Wed, 23 Nov 2022 10:07:13 -0800 Subject: [PATCH] chore: CI: allow releases not starting with v --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: