diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 27acdb4..b6fabd5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -68,8 +68,7 @@ jobs: - name: Create release draft uses: softprops/action-gh-release@v2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + if: startsWith(github.ref, 'refs/tags/') with: files: | dist.tar.gz