Skip to content

Commit

Permalink
Update test-mlperf-inference-resnet50.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh authored Jan 10, 2025
1 parent dd529c2 commit d419144
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/test-mlperf-inference-resnet50.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d419144

Please sign in to comment.