File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 9898 - uses : actions/checkout@v3
9999
100100 - name : Prepare the spec
101+ id : prepare
101102 shell : bash
102103 env :
103104 BENCHMARK_CONFIG : ${{ toJSON(matrix) }}
@@ -123,6 +124,7 @@ jobs:
123124 BENCHMARK_CONFIG_FILENAME=$(echo "${BENCHMARK_CONFIG_ID}" | sed -e 's/[^A-Za-z0-9._-]/_/g')
124125 # Save the benchmark configs so that we can use it later in the dashboard
125126 echo "${BENCHMARK_CONFIG}" > "${BENCHMARK_CONFIG_FILENAME}.json"
127+ echo "benchmark-config-filename=${BENCHMARK_CONFIG_FILENAME}" >> $GITHUB_OUTPUT
126128
127129 - name : Upload the spec
128130 uses : seemethere/upload-artifact-s3@v5
@@ -142,7 +144,7 @@ jobs:
142144 ${{ github.repository }}/${{ github.run_id }}/artifacts/benchmark-configs/
143145 retention-days : 1
144146 if-no-files-found : error
145- path : extension/benchmark/android/benchmark/${{ matrix.model }}_${{ matrix. config }}.json
147+ path : extension/benchmark/android/benchmark/${{ steps.prepare.outputs.benchmark- config-filename }}.json
146148
147149 export-models :
148150 name : export-models
Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ jobs:
125125 BENCHMARK_CONFIG_FILENAME=$(echo "${BENCHMARK_CONFIG_ID}" | sed -e 's/[^A-Za-z0-9._-]/_/g')
126126 # Save the benchmark configs so that we can use it later in the dashboard
127127 echo "${BENCHMARK_CONFIG}" > "${BENCHMARK_CONFIG_FILENAME}.json"
128+ echo "benchmark-config-filename=${BENCHMARK_CONFIG_FILENAME}" >> $GITHUB_OUTPUT
128129
129130 - name : Upload the spec
130131 uses : seemethere/upload-artifact-s3@v5
@@ -144,7 +145,7 @@ jobs:
144145 ${{ github.repository }}/${{ github.run_id }}/artifacts/benchmark-configs/
145146 retention-days : 1
146147 if-no-files-found : error
147- path : extension/benchmark/apple/Benchmark/${{ matrix.model }}_${{ matrix. config }}.json
148+ path : extension/benchmark/apple/Benchmark/${{ steps.prepare.outputs.benchmark- config-filename }}.json
148149
149150 export-models :
150151 name : export-models
You can’t perform that action at this time.
0 commit comments