From 1378e315489ac29f43685a26be358f0616905312 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Costa?= Date: Wed, 21 Aug 2024 17:46:30 +0200 Subject: [PATCH] ci: cargo login before publish --- .github/workflows/release-and-publish-on-tag.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release-and-publish-on-tag.yml b/.github/workflows/release-and-publish-on-tag.yml index c06a4a7..93eff97 100644 --- a/.github/workflows/release-and-publish-on-tag.yml +++ b/.github/workflows/release-and-publish-on-tag.yml @@ -96,7 +96,6 @@ jobs: - name: cargo publish # https://doc.rust-lang.org/cargo/reference/config.html?highlight=CARGO_REGISTRY_TOKEN#credentials run: | - cargo publish + cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }} && cargo publish --verbose --locked - --token ${{ secrets.CARGO_REGISTRY_TOKEN }}