Skip to content

Commit

Permalink
Call apt update before running rosdep
Browse files Browse the repository at this point in the history
  • Loading branch information
marip8 authored and Levi-Armstrong committed May 17, 2024
1 parent 3c0ce8b commit d82d22c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ runs:
if [ $? -ge 1 ]; then return 1; fi
cd $GITHUB_WORKSPACE/upstream_ws
if [[ "${{ inputs.rosdep-enabled }}" == "true" ]] && [[ "${{ runner.os }}" == "Linux" ]]; then
apt update -y -qq
rosdep install --from-paths src -iry ${{ inputs.rosdep-install-args }}
fi
if [[ "${{ inputs.ccache-enabled }}" == "true" ]] && [[ "${{ runner.os }}" == "Linux" ]]; then
Expand All @@ -141,6 +142,7 @@ runs:
fi
cd $GITHUB_WORKSPACE/${{ inputs.target-path }}/../
if [[ "${{ inputs.rosdep-enabled }}" == "true" ]]; then
apt update -y -qq
rosdep install --from-paths src -iry ${{ inputs.rosdep-install-args }}
fi
if [[ "${{ inputs.ccache-enabled }}" == "true" ]]; then
Expand Down

0 comments on commit d82d22c

Please sign in to comment.