diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5cd69dd..3bdefd1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -181,9 +181,9 @@ jobs: ${{ env.ARCHIVE_DIR }}/${{ env.ARCHIVE }}.sig generate_release_notes: true - - if: startsWith(github.ref, 'refs/tags/') + - if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.target == 'x86_64-unknown-linux-musl' }} run: cargo login ${{ secrets.CRATES_IO_API_TOKEN }} - name: "Publish" - if: startsWith(github.ref, 'refs/tags/') - run: cargo publish --locked \ No newline at end of file + if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.target == 'x86_64-unknown-linux-musl' }} + run: cargo publish --locked --allow-dirty \ No newline at end of file