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 98
98
- uses : actions/checkout@v3
99
99
100
100
- name : Prepare the spec
101
+ id : prepare
101
102
shell : bash
102
103
env :
103
104
BENCHMARK_CONFIG : ${{ toJSON(matrix) }}
@@ -123,6 +124,7 @@ jobs:
123
124
BENCHMARK_CONFIG_FILENAME=$(echo "${BENCHMARK_CONFIG_ID}" | sed -e 's/[^A-Za-z0-9._-]/_/g')
124
125
# Save the benchmark configs so that we can use it later in the dashboard
125
126
echo "${BENCHMARK_CONFIG}" > "${BENCHMARK_CONFIG_FILENAME}.json"
127
+ echo "benchmark-config-filename=${BENCHMARK_CONFIG_FILENAME}" >> $GITHUB_OUTPUT
126
128
127
129
- name : Upload the spec
128
130
uses : seemethere/upload-artifact-s3@v5
@@ -142,7 +144,7 @@ jobs:
142
144
${{ github.repository }}/${{ github.run_id }}/artifacts/benchmark-configs/
143
145
retention-days : 1
144
146
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
146
148
147
149
export-models :
148
150
name : export-models
Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ jobs:
125
125
BENCHMARK_CONFIG_FILENAME=$(echo "${BENCHMARK_CONFIG_ID}" | sed -e 's/[^A-Za-z0-9._-]/_/g')
126
126
# Save the benchmark configs so that we can use it later in the dashboard
127
127
echo "${BENCHMARK_CONFIG}" > "${BENCHMARK_CONFIG_FILENAME}.json"
128
+ echo "benchmark-config-filename=${BENCHMARK_CONFIG_FILENAME}" >> $GITHUB_OUTPUT
128
129
129
130
- name : Upload the spec
130
131
uses : seemethere/upload-artifact-s3@v5
@@ -144,7 +145,7 @@ jobs:
144
145
${{ github.repository }}/${{ github.run_id }}/artifacts/benchmark-configs/
145
146
retention-days : 1
146
147
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
148
149
149
150
export-models :
150
151
name : export-models
You can’t perform that action at this time.
0 commit comments