Skip to content

Commit c6e062d

Browse files
authored
Update test-mlperf-inference-resnet50.yml (#144)
* Update test-mlperf-inference-resnet50.yml
1 parent 838f709 commit c6e062d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/test-mlperf-inference-resnet50.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- '.github/workflows/test-mlperf-inference-resnet50.yml'
88
- '**'
99
- '!**.md'
10+
1011
jobs:
1112
mlc-run-with-results-upload:
1213
runs-on: ${{ matrix.os }}
@@ -63,17 +64,18 @@ jobs:
6364
keeper-secret-config: ${{ secrets.KSM_CONFIG }}
6465
secrets: |-
6566
ubwkjh-Ii8UJDpG2EoU6GQ/field/Access Token > env:PAT # Fetch PAT and store in environment variable
67+
6668
- name: Push Results
6769
env:
6870
PAT: ${{ env.PAT }}
6971
if: github.repository_owner == 'mlcommons'
7072
run: |
7173
git config --global user.name mlcommons-bot
7274
git config --global user.email "mlcommons-bot@users.noreply.github.com"
73-
git clone -b auto-update https://github.com/mlcommons/mlperf_inference_test_submissions_v5.0 tmp
75+
git clone -b auto-update https://git:${PAT}@github.com/mlcommons/mlperf_inference_test_submissions_v5.0 tmp
7476
cd tmp
7577
echo "hello" >> README.md
7678
git commit -a -m "Test commit"
7779
git push https://git:${PAT}@github.com/mlcommons/mlperf_inference_test_submissions_v5.0 HEAD:${{ github.ref_name }}
7880
79-
# mlcr --tags=push,github,mlperf,inference,submission --env.MLC_GITHUB_PAT=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
81+
mlcr --tags=push,github,mlperf,inference,submission --env.MLC_GITHUB_TOKEN=$PAT --env.MLC_GIT_AUTH=yes --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 commit comments

Comments
 (0)