Upgrade Github actions in Workfows to node20
This commit is contained in:
2
.github/workflows/benchmarks.yml
vendored
2
.github/workflows/benchmarks.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
|||||||
name: Run Benchmarks
|
name: Run Benchmarks
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.6.0
|
- uses: actions/checkout@v4.2.2
|
||||||
with:
|
with:
|
||||||
submodules: 'recursive'
|
submodules: 'recursive'
|
||||||
- name: Get Engine version
|
- name: Get Engine version
|
||||||
|
|||||||
4
.github/workflows/build-docfx.yml
vendored
4
.github/workflows/build-docfx.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
|||||||
docfx:
|
docfx:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.6.0
|
- uses: actions/checkout@v4.2.2
|
||||||
- name: Setup submodule
|
- name: Setup submodule
|
||||||
run: |
|
run: |
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
@@ -19,7 +19,7 @@ jobs:
|
|||||||
cd RobustToolbox/
|
cd RobustToolbox/
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
- name: Setup .NET Core
|
- name: Setup .NET Core
|
||||||
uses: actions/setup-dotnet@v3.2.0
|
uses: actions/setup-dotnet@v4.1.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: 8.0.x
|
dotnet-version: 8.0.x
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/build-map-renderer.yml
vendored
4
.github/workflows/build-map-renderer.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Master
|
- name: Checkout Master
|
||||||
uses: actions/checkout@v3.6.0
|
uses: actions/checkout@v4.2.2
|
||||||
|
|
||||||
- name: Setup Submodule
|
- name: Setup Submodule
|
||||||
run: |
|
run: |
|
||||||
@@ -34,7 +34,7 @@ jobs:
|
|||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
- name: Setup .NET Core
|
- name: Setup .NET Core
|
||||||
uses: actions/setup-dotnet@v3.2.0
|
uses: actions/setup-dotnet@v4.1.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: 8.0.x
|
dotnet-version: 8.0.x
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/build-test-debug.yml
vendored
4
.github/workflows/build-test-debug.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Master
|
- name: Checkout Master
|
||||||
uses: actions/checkout@v3.6.0
|
uses: actions/checkout@v4.2.2
|
||||||
|
|
||||||
- name: Setup Submodule
|
- name: Setup Submodule
|
||||||
run: |
|
run: |
|
||||||
@@ -34,7 +34,7 @@ jobs:
|
|||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
- name: Setup .NET Core
|
- name: Setup .NET Core
|
||||||
uses: actions/setup-dotnet@v3.2.0
|
uses: actions/setup-dotnet@v4.1.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: 8.0.x
|
dotnet-version: 8.0.x
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/check-crlf.yml
vendored
2
.github/workflows/check-crlf.yml
vendored
@@ -10,6 +10,6 @@ jobs:
|
|||||||
if: github.event.pull_request.draft == false
|
if: github.event.pull_request.draft == false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.6.0
|
- uses: actions/checkout@v4.2.2
|
||||||
- name: Check for CRLF
|
- name: Check for CRLF
|
||||||
run: Tools/check_crlf.py
|
run: Tools/check_crlf.py
|
||||||
|
|||||||
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@@ -16,11 +16,11 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt-get install -y python3-paramiko python3-lxml
|
run: sudo apt-get install -y python3-paramiko python3-lxml
|
||||||
|
|
||||||
- uses: actions/checkout@v3.6.0
|
- uses: actions/checkout@v4.2.2
|
||||||
with:
|
with:
|
||||||
submodules: 'recursive'
|
submodules: 'recursive'
|
||||||
- name: Setup .NET Core
|
- name: Setup .NET Core
|
||||||
uses: actions/setup-dotnet@v3.2.0
|
uses: actions/setup-dotnet@v4.1.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: 8.0.x
|
dotnet-version: 8.0.x
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/rsi-diff.yml
vendored
4
.github/workflows/rsi-diff.yml
vendored
@@ -11,14 +11,14 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3.6.0
|
uses: actions/checkout@v4.2.2
|
||||||
|
|
||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
id: files
|
id: files
|
||||||
uses: Ana06/get-changed-files@v2.3.0
|
uses: Ana06/get-changed-files@v2.3.0
|
||||||
with:
|
with:
|
||||||
format: 'space-delimited'
|
format: 'space-delimited'
|
||||||
filter: |
|
filter: |
|
||||||
**.rsi
|
**.rsi
|
||||||
**.png
|
**.png
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/test-packaging.yml
vendored
4
.github/workflows/test-packaging.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Master
|
- name: Checkout Master
|
||||||
uses: actions/checkout@v3.6.0
|
uses: actions/checkout@v4.2.2
|
||||||
|
|
||||||
- name: Setup Submodule
|
- name: Setup Submodule
|
||||||
run: |
|
run: |
|
||||||
@@ -49,7 +49,7 @@ jobs:
|
|||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
- name: Setup .NET Core
|
- name: Setup .NET Core
|
||||||
uses: actions/setup-dotnet@v3.2.0
|
uses: actions/setup-dotnet@v4.1.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: 8.0.x
|
dotnet-version: 8.0.x
|
||||||
|
|
||||||
|
|||||||
20
.github/workflows/update-credits.yml
vendored
20
.github/workflows/update-credits.yml
vendored
@@ -4,19 +4,19 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: 0 0 * * 0
|
- cron: 0 0 * * 0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
get_credits:
|
get_credits:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# Hey there fork dev! If you like to include your own contributors in this then you can probably just change this to your own repo
|
# Hey there fork dev! If you like to include your own contributors in this then you can probably just change this to your own repo
|
||||||
# Do this in dump_github_contributors.ps1 too into your own repo
|
# Do this in dump_github_contributors.ps1 too into your own repo
|
||||||
if: github.repository == 'space-wizards/space-station-14'
|
if: github.repository == 'space-wizards/space-station-14'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.6.0
|
- uses: actions/checkout@v4.2.2
|
||||||
with:
|
with:
|
||||||
ref: master
|
ref: master
|
||||||
|
|
||||||
- name: Get this week's Contributors
|
- name: Get this week's Contributors
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
env:
|
env:
|
||||||
@@ -25,25 +25,25 @@ jobs:
|
|||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
#- name: Get this week's Patreons
|
#- name: Get this week's Patreons
|
||||||
# run: Tools/script2dumppatreons > Resources/Credits/Patrons.yml
|
# run: Tools/script2dumppatreons > Resources/Credits/Patrons.yml
|
||||||
|
|
||||||
# MAKE SURE YOU ENABLED "Allow GitHub Actions to create and approve pull requests" IN YOUR ACTIONS, OTHERWISE IT WILL MOST LIKELY FAIL
|
# MAKE SURE YOU ENABLED "Allow GitHub Actions to create and approve pull requests" IN YOUR ACTIONS, OTHERWISE IT WILL MOST LIKELY FAIL
|
||||||
|
|
||||||
|
|
||||||
# For this you can use a pat token of an account with direct push access to the repo if you have protected branches.
|
# For this you can use a pat token of an account with direct push access to the repo if you have protected branches.
|
||||||
# Uncomment this and comment the other line if you do this.
|
# Uncomment this and comment the other line if you do this.
|
||||||
# https://github.com/stefanzweifel/git-auto-commit-action#push-to-protected-branches
|
# https://github.com/stefanzweifel/git-auto-commit-action#push-to-protected-branches
|
||||||
|
|
||||||
#- name: Commit new credit files
|
#- name: Commit new credit files
|
||||||
# uses: stefanzweifel/git-auto-commit-action@v4
|
# uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
# with:
|
# with:
|
||||||
# commit_message: Update Credits
|
# commit_message: Update Credits
|
||||||
# commit_author: PJBot <pieterjan.briers+bot@gmail.com>
|
# commit_author: PJBot <pieterjan.briers+bot@gmail.com>
|
||||||
|
|
||||||
# This will make a PR
|
# This will make a PR
|
||||||
- name: Set current date as env variable
|
- name: Set current date as env variable
|
||||||
run: echo "NOW=$(date +'%Y-%m-%dT%H-%M-%S')" >> $GITHUB_ENV
|
run: echo "NOW=$(date +'%Y-%m-%dT%H-%M-%S')" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v5
|
uses: peter-evans/create-pull-request@v5
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/validate-rgas.yml
vendored
2
.github/workflows/validate-rgas.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.6.0
|
- uses: actions/checkout@v4.2.2
|
||||||
- name: Setup Submodule
|
- name: Setup Submodule
|
||||||
run: git submodule update --init
|
run: git submodule update --init
|
||||||
- name: Pull engine updates
|
- name: Pull engine updates
|
||||||
|
|||||||
2
.github/workflows/validate-rsis.yml
vendored
2
.github/workflows/validate-rsis.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
name: Validate RSIs
|
name: Validate RSIs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.6.0
|
- uses: actions/checkout@v4.2.2
|
||||||
- name: Setup Submodule
|
- name: Setup Submodule
|
||||||
run: git submodule update --init
|
run: git submodule update --init
|
||||||
- name: Pull engine updates
|
- name: Pull engine updates
|
||||||
|
|||||||
2
.github/workflows/validate_mapfiles.yml
vendored
2
.github/workflows/validate_mapfiles.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.6.0
|
- uses: actions/checkout@v4.2.2
|
||||||
- name: Setup Submodule
|
- name: Setup Submodule
|
||||||
run: git submodule update --init
|
run: git submodule update --init
|
||||||
- name: Pull engine updates
|
- name: Pull engine updates
|
||||||
|
|||||||
4
.github/workflows/yaml-linter.yml
vendored
4
.github/workflows/yaml-linter.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.6.0
|
- uses: actions/checkout@v4.2.2
|
||||||
- name: Setup submodule
|
- name: Setup submodule
|
||||||
run: |
|
run: |
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
cd RobustToolbox/
|
cd RobustToolbox/
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
- name: Setup .NET Core
|
- name: Setup .NET Core
|
||||||
uses: actions/setup-dotnet@v3.2.0
|
uses: actions/setup-dotnet@v4.1.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: 8.0.x
|
dotnet-version: 8.0.x
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|||||||
Reference in New Issue
Block a user