From 116906ec24bdfe7ac70d9f2c894cf4e4ee5bcbf4 Mon Sep 17 00:00:00 2001 From: dvdsk Date: Fri, 8 Nov 2024 01:40:43 +0100 Subject: [PATCH] use CI to yank partially broken 0.20.0 --- .github/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1890c992..ec79bbf9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 + 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: @@ -116,4 +126,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 \ No newline at end of file + git push origin $version_name