Skip to content

Commit 91b4118

Browse files
Removing whitespaces in test_options
1 parent b52d493 commit 91b4118

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/reusable_ragger_tests.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,16 @@ jobs:
234234
needs: ragger_tests
235235
runs-on: ubuntu-22.04
236236
steps:
237+
- name: Remove whitespaces
238+
id: whitespace-removal
239+
run: |
240+
NO_SPACE_TEST_OPTIONS="$(echo "${{ inputs.test_options }}" | tr -d '[:space:]')"
241+
echo "test_options=$NO_SPACE_TEST_OPTIONS" >> "$GITHUB_OUTPUT"
237242
- uses: actions/upload-artifact/merge@v4
238243
if: ${{ needs.ragger_tests.outputs.snapshot_artifact_uploaded == 'true' }}
239244
with:
240-
name: tests_snapshots${{ inputs.test_options }}
241-
pattern: tests_snapshots${{ inputs.test_options }}-*
245+
name: tests_snapshots${{ steps.whitespace-removal.outputs.test_options }}
246+
pattern: tests_snapshots${{ steps.whitespace-removal.outputs.test_options }}-*
242247
delete-merged: true
243248

244249
outputs:

0 commit comments

Comments
 (0)