Skip to content

Commit

Permalink
fixing output dir removing spaces from test type
Browse files Browse the repository at this point in the history
  • Loading branch information
mike dupont committed Oct 22, 2024
1 parent 4ed2292 commit 1a6adaa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
run: |
#!/bin/bash
MODIFIED_BRANCH_NAME=${BRANCH_NAME/\//-}
MODIFIED_TEST_TYPE=${TEST_TYPE/\//-}
MODIFIED_TEST_TYPE=${TEST_TYPE//[\/ ]/-}
OUTPUT_DIR="profile/profile-data/${MODIFIED_BRANCH_NAME}"
OUTPUT_TEST_DIR="${OUTPUT_DIR}/profile-data-${MODIFIED_TEST_TYPE}-${{ matrix.perf }}-${{ matrix.node_version }}"
OUTPUT_TEST_NAME="profile-data-${MODIFIED_TEST_TYPE}-${{ matrix.perf }}-${{ matrix.node_version }}"
Expand All @@ -139,6 +139,8 @@ jobs:
mv Heap.*.heapprofile "${OUTPUT_TEST_DIR}" || echo ok
mv CPU.*.cpuprofile "${OUTPUT_TEST_DIR}" || echo ok
find -name \*log
find -name \*.cpuprofile
find -name \*.heapprofile
continue-on-error: true

- name: Upload test results
Expand Down

0 comments on commit 1a6adaa

Please sign in to comment.