From b0d2238929da9acd017bf04434075b13de4100fb Mon Sep 17 00:00:00 2001 From: Negezor Date: Wed, 10 Apr 2024 22:44:45 +1100 Subject: [PATCH] chore: pass token in publish command --- .github/workflows/build.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 275c1ac..3cfafce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -80,7 +80,5 @@ jobs: uses: actions/checkout@v4 - name: Install rust uses: dtolnay/rust-toolchain@stable - - name: Run cargo login - run: cargo login ${{ secrets.CRATES_IO_TOKEN }} - name: Run cargo publish - run: cargo publish + run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }}