mirror of
https://github.com/Xevion/spotify-quickauth.git
synced 2025-12-10 08:08:44 -06:00
Limit publish to 1 primary target, allow dirty repo
dirty due to .cargo/config.github.toml
This commit is contained in:
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
@@ -181,9 +181,9 @@ jobs:
|
|||||||
${{ env.ARCHIVE_DIR }}/${{ env.ARCHIVE }}.sig
|
${{ env.ARCHIVE_DIR }}/${{ env.ARCHIVE }}.sig
|
||||||
generate_release_notes: true
|
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 }}
|
run: cargo login ${{ secrets.CRATES_IO_API_TOKEN }}
|
||||||
|
|
||||||
- name: "Publish"
|
- name: "Publish"
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.target == 'x86_64-unknown-linux-musl' }}
|
||||||
run: cargo publish --locked
|
run: cargo publish --locked --allow-dirty
|
||||||
Reference in New Issue
Block a user