diff --git a/.github/workflows/build-release-binaries.yml b/.github/workflows/build-release-binaries.yml index f70fb01..1ab5395 100644 --- a/.github/workflows/build-release-binaries.yml +++ b/.github/workflows/build-release-binaries.yml @@ -2,8 +2,8 @@ name: Build release binaries (and publish them if this is a tag) on: push: - branches: - - main + tags: + - "*" # pull_request: @@ -135,25 +135,3 @@ jobs: asset_name: cloud-$tag-${{ matrix.release_name }} body: ${{ steps.changelog_reader.outputs.log_entry }} if: startsWith(github.ref, 'refs/tags/v') - - crates: - name: Publish to crates.io - runs-on: ubuntu-latest - - if: startsWith(github.ref, 'refs/tags/v') - - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Setup Rust toolchain - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - target: ${{ matrix.target }} - - - name: Publish to crates.io - uses: actions-rs/cargo@v1 - with: - command: publish - args: --token ${{ secrets.CARGO_REGISTRY_TOKEN }}