Skip to content

Commit

Permalink
use CI to yank partially broken 0.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdsk committed Nov 8, 2024
1 parent f1eaaa4 commit 8eb076c
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,19 @@ 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:
- name: Run cargo yank
continue-on-error: true
run: |
RODIO_TMP=$(mktemp /tmp/rodioXXX.txt) || echo "::error::mktemp error"
echo "RODIO_TMP=$RODIO_TMP" >> $GITHUB_ENV
cargo yank --version 0.20.0 --token $CRATESIO_TOKEN 2> $RODIO_TMP
cargo-publish:
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
env:
Expand Down Expand Up @@ -116,4 +129,4 @@ jobs:
git config --global user.email 'github-actions@github.com'
version_name="v$version"
git tag -a "$version_name" -m "Release for $version_name"
git push origin $version_name
git push origin $version_name

0 comments on commit 8eb076c

Please sign in to comment.