-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update test-mlperf-inference-resnet50.yml
- Loading branch information
1 parent
dd529c2
commit d419144
Showing
1 changed file
with
3 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,15 +66,13 @@ jobs: | |
with: | ||
keeper-secret-config: ${{ secrets.KSM_CONFIG }} | ||
secrets: |- | ||
ubwkjh-Ii8UJDpG2EoU6GQ/field/Access_Token > env:PAT # Fetch PAT and store in environment variable | ||
ubwkjh-Ii8UJDpG2EoU6GQ/field/Access Token > env:PAT # Fetch PAT and store in environment variable | ||
- name: Use secret | ||
env: | ||
MY_SECRET: ${{ env.PAT }} | ||
run: | | ||
echo "Using secret: $MY_SECRET" | ||
echo "Using PAT: ${{ env.PAT }}" | ||
- name: Push Results | ||
if: github.repository_owner == 'mlcommons' | ||
run: | | ||
git config --global user.name mlcommons-bot | ||
git config --global user.email "[email protected]" | ||
cm run script --tags=push,github,mlperf,inference,submission --env.CM_GITHUB_PAT=${{ env.MY_SECRET }} --repo_url=https://github.com/mlcommons/mlperf_inference_test_submissions_v5.0 --repo_branch=auto-update --commit_message="Results from R50 GH action on ${{ matrix.os }}" --quiet | ||
cm run script --tags=push,github,mlperf,inference,submission --env.CM_GITHUB_PAT=${{ env.PAT }} --repo_url=https://github.com/mlcommons/mlperf_inference_test_submissions_v5.0 --repo_branch=auto-update --commit_message="Results from R50 GH action on ${{ matrix.os }}" --quiet |