diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ff1628c..3ea2219 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: create-gh-release - if: matrix.target == 'x86_64-unknown-linux-musl' + if: matrix.target == 'x86_64-unknown-linux-musl' && startsWith(github.ref, 'refs/tags/') uses: taiki-e/create-gh-release-action@v1 with: token: ${{ secrets.GITHUB_TOKEN }}