Skip to content

Commit 7c38ddc

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

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,17 @@ jobs:
1010
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1
1111
with:
1212
crate: tracel-xtask-macros
13-
secrets: inherit
13+
with: # Set the secret as an input
14+
super_secret: ${{ secrets.SuperSecret }}
15+
secrets:
16+
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
17+
1418
# --------------------------------------------------------------------------------
1519
publish-tracel-xtask:
1620
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1
1721
with:
1822
crate: tracel-xtask
1923
needs:
2024
- publish-tracel-xtask-macros
21-
secrets: inherit
25+
secrets:
26+
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}

0 commit comments

Comments
 (0)