Skip to content

Commit 2e4185b

Browse files
committed
Remove "run" deprecation and "Node.js 20" warnings
1 parent 387d5a5 commit 2e4185b

1 file changed

Lines changed: 15 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -949,15 +949,20 @@ jobs:
949949
runs-on: ${{matrix.os}}
950950

951951
steps:
952-
- uses: actions/checkout@v6
953-
- name: Test on ${{matrix.vm}}
954-
uses: cross-platform-actions/action@v1.2.0
955-
with:
956-
operating_system: ${{matrix.vm}}
957-
version: ${{matrix.bsd_version}}
958-
environment_variables: GIT_FETCH_JOBS NET_RETRY_COUNT DEFAULT_BUILD_VARIANT
959-
sync_files: false
960-
shell: bash
952+
- uses: actions/checkout@v6
953+
954+
# Step 1: Boot and configure the BSD Virtual Machine
955+
- name: Initialize ${{matrix.vm}} Environment
956+
uses: cross-platform-actions/action@v1.2.0
957+
with:
958+
operating_system: ${{matrix.vm}}
959+
version: ${{matrix.bsd_version}}
960+
environment_variables: GIT_FETCH_JOBS NET_RETRY_COUNT DEFAULT_BUILD_VARIANT
961+
sync_files: false
962+
963+
# Step 2: Run your commands inside the VM using the custom shell
964+
- name: Test on ${{matrix.vm}}
965+
shell: cpa.sh {0}
961966
run: |
962967
export PATH=/usr/pkg/bin:/sbin:/usr/local/bin:$PATH >> ~/.profile
963968
export PATH=/usr/pkg/bin:/sbin:/usr/local/bin:$PATH
@@ -1131,7 +1136,7 @@ jobs:
11311136
run: |
11321137
git status || git config --system --add safe.directory "$GITHUB_WORKSPACE"
11331138
1134-
- uses: dorny/paths-filter@v3
1139+
- uses: dorny/paths-filter@v4
11351140
id: changes
11361141
with:
11371142
filters: |

0 commit comments

Comments
 (0)