diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9b53452..b1ed4ca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -94,11 +94,10 @@ jobs: path: ./clone-${{ matrix.os }}-${{ matrix.arch }}${{ matrix.file_extension }} - name: Publish cargo - if: ${{ needs.get-version.outputs.will-release }} + if: ${{ needs.get-version.outputs.will-release && matrix.os == 'linux' && matrix.arch == 'x86_64' }} shell: bash run: cargo publish -p clone-project-manager --allow-dirty --token "${{ secrets.CARGO_TOKEN }}" - release: needs: [ get-version, build ] if: ${{ needs.get-version.outputs.will-release }}