Skip to content

Commit

Permalink
[Actions] Upgrade action
Browse files Browse the repository at this point in the history
Fix: #1000
  • Loading branch information
minggangw committed Nov 7, 2024
1 parent d57c316 commit b34d8c2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linux-build-and-test-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ jobs:

steps:
- name: Setup ROS2
uses: ros-tooling/setup-ros@0.7.8
uses: ros-tooling/setup-ros@v0.7
with:
required-ros-distributions: ${{ matrix.ros_distribution }}

- name: Install test-msgs on Linux
run: |
sudo apt install ros-${{ matrix.ros_distribution }}-test-msgs
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4

- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.0.3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/linux-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@ jobs:
node-version: [20.X, 22.X]
steps:
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.0.3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Setup ROS2
uses: ros-tooling/setup-ros@0.7.8
uses: ros-tooling/setup-ros@v0.7

- name: Install test-msgs on Linux
run: |
sudo apt install ros-${{ needs.identify-ros-distro.outputs.distro }}-test-msgs
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4

- name: Build and test rclnodejs
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/windows-build-and-test-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
- rolling
steps:
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.0.3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Setup ROS2
uses: ros-tooling/setup-ros@0.7.8
uses: ros-tooling/setup-ros@v0.7
with:
required-ros-distributions: ${{ matrix.ros_distribution }}

Expand All @@ -37,7 +37,7 @@ jobs:
- name: Prebuild - Setup VS Dev Environment
uses: seanmiddleditch/gha-setup-vsdevenv@v4

- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4

- name: Build rclnodejs
shell: cmd
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/windows-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
node-version: [22.X]
steps:
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.0.3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Setup ROS2
uses: ros-tooling/setup-ros@0.7.8
uses: ros-tooling/setup-ros@v0.7
with:
required-ros-distributions: ${{ needs.identify-ros-distro.outputs.distro }}

Expand All @@ -48,7 +48,7 @@ jobs:
- name: Prebuild - Setup VS Dev Environment
uses: seanmiddleditch/gha-setup-vsdevenv@v4

- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4

- name: Build rclnodejs
shell: cmd
Expand Down

0 comments on commit b34d8c2

Please sign in to comment.