Skip to content

Commit 0ece767

Browse files
committed
Fix CI
Signed-off-by: Pablo Garrido <[email protected]>
1 parent c66c5a2 commit 0ece767

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,16 @@ jobs:
4444
run: |
4545
(test -f install/micro_ros_setup/lib/micro_ros_setup/build_firmware.sh) && true || false
4646
47-
- uses: actions/[email protected]
48-
with:
49-
name: micro_ros_build_${{ inputs.ci_target_ref }}
50-
path: install
47+
- name: Sanitize Artifact Name
48+
id: sanitize-name
49+
run: |
50+
sanitized_name=$(echo "${{ inputs.ci_target_ref }}" | sed 's/[\/:*?"<>|\\]/_/g')
51+
echo "sanitized_name=$sanitized_name" >> $GITHUB_ENV
52+
53+
- uses: actions/[email protected]
54+
with:
55+
name: micro_ros_build_${{ env.sanitized_name }}
56+
path: install
5157

5258
micro_ros_agent:
5359
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)