Skip to content

Commit b27da8c

Browse files
committed
Fix macos CI 2
1 parent 9d5844a commit b27da8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/trunk.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,7 @@ jobs:
623623
permissions:
624624
id-token: write
625625
contents: read
626+
secrets: inherit
626627
strategy:
627628
fail-fast: false
628629
matrix:
@@ -645,7 +646,7 @@ jobs:
645646
646647
echo "::group::Set up Huggingface"
647648
${CONDA_RUN} pip install -U "huggingface_hub[cli]" accelerate
648-
huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
649+
${CONDA_RUN} huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
649650
OPTIMUM_ET_VERSION=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt)
650651
${CONDA_RUN} pip install git+https://github.com/huggingface/optimum-executorch.git@${OPTIMUM_ET_VERSION}
651652
${CONDA_RUN} pip list

0 commit comments

Comments
 (0)