From e494fa48691594db612e95c920313e84c1d7ec83 Mon Sep 17 00:00:00 2001 From: David Stangl Date: Tue, 14 Feb 2023 13:39:54 +0100 Subject: [PATCH] Use cargo token from github secrets --- .github/workflows/publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 40e3188..65728df 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -42,7 +42,7 @@ jobs: tag_prefix: "" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Login to crates.io - run: cargo login "${{ secrets.CRATES_IO_TOKEN }}" - name: Publish run: cargo publish + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}