Unverified Commit 4c3848d3 authored by John DiSanti's avatar John DiSanti Committed by GitHub
Browse files

Fix credentials-verification workflow (#3425)

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
parent af652c36
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ jobs:
      env:
        RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN: ${{ secrets.RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN }}
      run: |
        cargo login -- "${RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN}"
        cargo login "${RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN}"
        echo "Checking cargo auth token..."
        # "cargo login" only saves a token and does not actually use it, so we use "cargo yank" to verify the token.
        # This version has already been yanked, so it is safe to execute the command below repeatedly.