mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +00:00
ci: update actions/checkout and actions/setup-node versions in workflows
- Upgraded `actions/checkout` from v4 to v5 in `ci.yml` and `release.yml` for improved performance and features. - Updated `actions/setup-node` from v4 to v5 and changed the Node.js version from 20 to 22 in both workflows to ensure compatibility and access to the latest features.
This commit is contained in:
parent
f5944891a5
commit
d0c9d028e2
2 changed files with 12 additions and 12 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
if: runner.os == 'Windows'
|
||||
run: Set-MpPreference -DisableRealtimeMonitoring $true
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Init rbx-dom submodule
|
||||
env:
|
||||
|
|
@ -49,15 +49,15 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Init vscode-rojo submodule
|
||||
run: git submodule update --init --depth 1 vscode-rojo
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
|
||||
- name: Install Dependencies
|
||||
working-directory: vscode-rojo
|
||||
|
|
@ -74,7 +74,7 @@ jobs:
|
|||
CARGO_INCREMENTAL: "0"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Init rbx-dom submodule
|
||||
run: git submodule update --init --depth 1 rbx-dom
|
||||
|
|
@ -97,7 +97,7 @@ jobs:
|
|||
CARGO_INCREMENTAL: "0"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Init rbx-dom submodule
|
||||
run: git submodule update --init --depth 1 rbx-dom
|
||||
|
|
|
|||
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
|
@ -9,7 +9,7 @@ jobs:
|
|||
name: Create Release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
- name: Create Release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
env:
|
||||
CARGO_INCREMENTAL: "0"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
|
|
@ -66,15 +66,15 @@ jobs:
|
|||
name: Build VS Code Extension
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Init vscode-rojo submodule
|
||||
run: git submodule update --init --depth 1 vscode-rojo
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
|
||||
- name: Install Dependencies
|
||||
working-directory: vscode-rojo
|
||||
|
|
@ -146,7 +146,7 @@ jobs:
|
|||
if: runner.os == 'Windows'
|
||||
run: Set-MpPreference -DisableRealtimeMonitoring $true
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Init rbx-dom submodule
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue