Skip to content

Commit

Permalink
Ensure naming
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogs9 committed Dec 9, 2024
1 parent b6a6fef commit 75768d5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,13 @@ jobs:
rosdep update --rosdistro ${{ env.ROS_DISTRO }}
rosdep install --rosdistro ${{ env.ROS_DISTRO }} -y --from-paths src --ignore-src -y
- name: Sanitize Artifact Name
id: sanitize-name
run: |
sanitized_name=$(echo "${{ inputs.ci_target_ref }}" | sed 's/[\/:*?"<>|\\]/_/g')
echo "sanitized_name=$sanitized_name" >> $GITHUB_ENV
echo "::set-output name=sanitized_name::$sanitized_name"
- uses: actions/[email protected]
with:
name: micro_ros_build_${{ steps.sanitize-name.outputs.sanitized_name }}
Expand Down Expand Up @@ -235,6 +242,13 @@ jobs:
rosdep update --rosdistro ${{ env.ROS_DISTRO }}
rosdep install --rosdistro ${{ env.ROS_DISTRO }} -y --from-paths src --ignore-src -y
- name: Sanitize Artifact Name
id: sanitize-name
run: |
sanitized_name=$(echo "${{ inputs.ci_target_ref }}" | sed 's/[\/:*?"<>|\\]/_/g')
echo "sanitized_name=$sanitized_name" >> $GITHUB_ENV
echo "::set-output name=sanitized_name::$sanitized_name"
- uses: actions/[email protected]
with:
name: micro_ros_build_${{ steps.sanitize-name.outputs.sanitized_name }}
Expand Down

0 comments on commit 75768d5

Please sign in to comment.