Skip to content

Commit c3b037b

Browse files
committed
Explictly pass the crate API token to publish-crate workflow
1 parent 9d11359 commit c3b037b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@ jobs:
1010
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1
1111
with:
1212
crate: tracel-xtask-macros
13-
secrets: inherit
13+
secrets:
14+
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
15+
1416
# --------------------------------------------------------------------------------
1517
publish-tracel-xtask:
1618
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1
1719
with:
1820
crate: tracel-xtask
1921
needs:
2022
- publish-tracel-xtask-macros
21-
secrets: inherit
23+
secrets:
24+
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}

0 commit comments

Comments
 (0)