Skip to content

Commit 189a9d4

Browse files
Michael Norrisfacebook-github-bot
authored andcommitted
Fix build-release workflow (#4162)
Summary: Pull Request resolved: #4162 https://docs.github.com/en/actions/sharing-automations/reusing-workflows#using-inputs-and-secrets-in-a-reusable-workflow Seems like we need `secrets` in the workflow and in the caller. Reviewed By: asadoughi Differential Revision: D68965899 fbshipit-source-id: 25580471c727d5ae86c4e7dd4c6ea72b388b1acf
1 parent 8581b86 commit 189a9d4

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/build-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
on:
22
workflow_call:
3+
secrets:
4+
ANACONDA_API_TOKEN:
5+
required: true
36
env:
47
OMP_NUM_THREADS: '10'
58
MKL_THREADING_LAYER: GNU

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ jobs:
1212
uses: ./.github/workflows/build-pull-request.yml
1313
build-release:
1414
uses: ./.github/workflows/build-release.yml
15+
secrets:
16+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
1517
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')

0 commit comments

Comments
 (0)