-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use CI to yank partially broken 0.20.0
- Loading branch information
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,16 @@ jobs: | |
- run: cargo test --all-targets | ||
- run: cargo test --features=symphonia-all --all-targets | ||
|
||
cargo-yank: | ||
env: | ||
CRATESIO_TOKEN: ${{ secrets.CRATESIO_TOKEN }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run cargo yank | ||
run: cargo yank --version '0.20.0' --token $CRATESIO_TOKEN | ||
|
||
cargo-publish: | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | ||
env: | ||
|
@@ -116,4 +126,4 @@ jobs: | |
git config --global user.email '[email protected]' | ||
version_name="v$version" | ||
git tag -a "$version_name" -m "Release for $version_name" | ||
git push origin $version_name | ||
git push origin $version_name |