From c3b037b59ef29d1a5c3bc991f42231a3bcf0f6d7 Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Tue, 27 Aug 2024 11:43:04 -0400 Subject: [PATCH] Explictly pass the crate API token to publish-crate workflow --- .github/workflows/publish.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f9bfa70..f173053 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,7 +10,9 @@ jobs: uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 with: crate: tracel-xtask-macros - secrets: inherit + secrets: + CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }} + # -------------------------------------------------------------------------------- publish-tracel-xtask: uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 @@ -18,4 +20,5 @@ jobs: crate: tracel-xtask needs: - publish-tracel-xtask-macros - secrets: inherit + secrets: + CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}