Skip to content

Commit 1a6adaa

Browse files
author
mike dupont
committed
fixing output dir removing spaces from test type
1 parent 4ed2292 commit 1a6adaa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-action.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
run: |
114114
#!/bin/bash
115115
MODIFIED_BRANCH_NAME=${BRANCH_NAME/\//-}
116-
MODIFIED_TEST_TYPE=${TEST_TYPE/\//-}
116+
MODIFIED_TEST_TYPE=${TEST_TYPE//[\/ ]/-}
117117
OUTPUT_DIR="profile/profile-data/${MODIFIED_BRANCH_NAME}"
118118
OUTPUT_TEST_DIR="${OUTPUT_DIR}/profile-data-${MODIFIED_TEST_TYPE}-${{ matrix.perf }}-${{ matrix.node_version }}"
119119
OUTPUT_TEST_NAME="profile-data-${MODIFIED_TEST_TYPE}-${{ matrix.perf }}-${{ matrix.node_version }}"
@@ -139,6 +139,8 @@ jobs:
139139
mv Heap.*.heapprofile "${OUTPUT_TEST_DIR}" || echo ok
140140
mv CPU.*.cpuprofile "${OUTPUT_TEST_DIR}" || echo ok
141141
find -name \*log
142+
find -name \*.cpuprofile
143+
find -name \*.heapprofile
142144
continue-on-error: true
143145

144146
- name: Upload test results

0 commit comments

Comments
 (0)