diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index e3996b3..b73bfeb 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -77,8 +77,8 @@ jobs: override: true - name: publish crate uses: katyo/publish-crates@v2 + if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }} with: - dry-run: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }} registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} windows-test: