Skip to content

Commit f1106f3

Browse files
committed
sanitize artifcat suffix to what github allows
1 parent 703d091 commit f1106f3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Diff for: .github/workflows/performanceTests.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,16 @@ jobs:
5555
arch: x86_64
5656
profile: Nexus 6
5757
script: ./bin/flashlightCI.sh
58+
59+
60+
- name: Set sanitized variable
61+
id: sanitize
62+
run: echo "sanitized_name=$(echo '${{ github.head_ref || github.ref_name }}-${{ matrix.api-level }}-${{ matrix.target }}' | tr -cd '[:alnum:]-_')" >> $GITHUB_ENV
5863
- uses: actions/upload-artifact@v4
5964
with:
60-
name: results-${{ github.head_ref || github.ref_name }}-${{ matrix.api-level }}-${{ matrix.target }}
65+
name: results-${{ env.sanitized_name }}
6166
path: results.json
6267
- uses: actions/upload-artifact@v4
6368
with:
64-
name: test-app-${{ github.head_ref || github.ref_name }}-${{ matrix.api-level }}-${{ matrix.target }}
69+
name: test-app-${{ env.sanitized_name }}
6570
path: android/app/build/outputs/apk/release/app-release.apk

0 commit comments

Comments
 (0)