chore(CI): bump actions off the deprecated Node 20 runtime (#26720)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -50,7 +50,7 @@ runs:
|
|||||||
# walk back from the most-recent cache on this branch to progressively
|
# walk back from the most-recent cache on this branch to progressively
|
||||||
# broader fallbacks (branch -> pch variant -> modules variant -> compiler).
|
# broader fallbacks (branch -> pch variant -> modules variant -> compiler).
|
||||||
- name: Cache
|
- name: Cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v6
|
||||||
with:
|
with:
|
||||||
path: ${{ github.workspace }}/var/ccache
|
path: ${{ github.workspace }}/var/ccache
|
||||||
key: ccache:${{ runner.os }}:${{ inputs.CC }}_${{ inputs.CXX }}:${{ inputs.modules }}:pch=${{ inputs.pch }}:${{ github.ref_name }}-${{ github.run_id }}
|
key: ccache:${{ runner.os }}:${{ inputs.CC }}_${{ inputs.CXX }}:${{ inputs.modules }}:pch=${{ inputs.pch }}:${{ github.ref_name }}-${{ github.run_id }}
|
||||||
|
|||||||
@@ -22,9 +22,9 @@ jobs:
|
|||||||
name: C++
|
name: C++
|
||||||
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
- name: Setup python
|
- name: Setup python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v7
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.10'
|
||||||
- name: AzerothCore codestyle
|
- name: AzerothCore codestyle
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-nopch
|
name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-nopch
|
||||||
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
- uses: ./.github/actions/linux-build
|
- uses: ./.github/actions/linux-build
|
||||||
with:
|
with:
|
||||||
CC: ${{ matrix.compiler.CC }}
|
CC: ${{ matrix.compiler.CC }}
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ jobs:
|
|||||||
name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-pch
|
name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-pch
|
||||||
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
- uses: ./.github/actions/linux-build
|
- uses: ./.github/actions/linux-build
|
||||||
with:
|
with:
|
||||||
CC: ${{ matrix.compiler.CC }}
|
CC: ${{ matrix.compiler.CC }}
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ jobs:
|
|||||||
name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-nopch-modules
|
name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-nopch-modules
|
||||||
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
# This script installs a general list of modules to compile with
|
# This script installs a general list of modules to compile with
|
||||||
# azerothcore. This is useful for ensuring that module compilation
|
# azerothcore. This is useful for ensuring that module compilation
|
||||||
# functionality works.
|
# functionality works.
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ jobs:
|
|||||||
sudo rm -rf /opt/ghc
|
sudo rm -rf /opt/ghc
|
||||||
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
# The containers created in this workflow are used by
|
# The containers created in this workflow are used by
|
||||||
# acore-docker, which has a dependency on mod-ale.
|
# acore-docker, which has a dependency on mod-ale.
|
||||||
@@ -50,7 +50,7 @@ jobs:
|
|||||||
# build them locally (such as with `docker compose build`)
|
# build them locally (such as with `docker compose build`)
|
||||||
- name: Download Eluna
|
- name: Download Eluna
|
||||||
if: github.repository == 'azerothcore/azerothcore-wotlk' && github.ref_name == 'master'
|
if: github.repository == 'azerothcore/azerothcore-wotlk' && github.ref_name == 'master'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
repository: azerothcore/mod-ale
|
repository: azerothcore/mod-ale
|
||||||
path: modules/mod-ale
|
path: modules/mod-ale
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ jobs:
|
|||||||
permissions: write-all
|
permissions: write-all
|
||||||
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
# If we're fetching all the history in a later step it makes sense to
|
# If we're fetching all the history in a later step it makes sense to
|
||||||
|
|||||||
@@ -32,9 +32,9 @@ jobs:
|
|||||||
&& !github.event.pull_request.draft
|
&& !github.event.pull_request.draft
|
||||||
&& (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
|
&& (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
- name: Cache
|
- name: Cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v6
|
||||||
with:
|
with:
|
||||||
path: ~/Library/Caches/ccache
|
path: ~/Library/Caches/ccache
|
||||||
# Unique per run so the cache is re-saved every run instead of
|
# Unique per run so the cache is re-saved every run instead of
|
||||||
|
|||||||
@@ -9,10 +9,10 @@ jobs:
|
|||||||
permissions: write-all
|
permissions: write-all
|
||||||
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
persist-credentials: true
|
persist-credentials: true
|
||||||
- uses: actions/labeler@v5
|
- uses: actions/labeler@v7
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
configuration-path: .github/labeler.yml
|
configuration-path: .github/labeler.yml
|
||||||
|
|||||||
@@ -22,9 +22,9 @@ jobs:
|
|||||||
name: SQL
|
name: SQL
|
||||||
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
- name: Setup python
|
- name: Setup python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v7
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.10'
|
||||||
- name: AzerothCore codestyle
|
- name: AzerothCore codestyle
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ jobs:
|
|||||||
&& !github.event.pull_request.draft
|
&& !github.event.pull_request.draft
|
||||||
&& (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
|
&& (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
- uses: ./.github/actions/linux-build
|
- uses: ./.github/actions/linux-build
|
||||||
with:
|
with:
|
||||||
CC: ${{ matrix.compiler.CC }}
|
CC: ${{ matrix.compiler.CC }}
|
||||||
|
|||||||
@@ -35,14 +35,14 @@ jobs:
|
|||||||
&& !github.event.pull_request.draft
|
&& !github.event.pull_request.draft
|
||||||
&& (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
|
&& (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2.13
|
uses: hendrikmuhs/ccache-action@v1.2.13
|
||||||
# Cache the fetched Boost + MySQL client so we don't re-download ~350 MB
|
# Cache the fetched Boost + MySQL client so we don't re-download ~350 MB
|
||||||
# and re-run the Boost installer on every run. The Test-Path guards in
|
# and re-run the Boost installer on every run. The Test-Path guards in
|
||||||
# "Configure OS" short-circuit the install work when these are restored.
|
# "Configure OS" short-circuit the install work when these are restored.
|
||||||
- name: Cache Boost & MySQL
|
- name: Cache Boost & MySQL
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v6
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
C:\local\boost_1_87_0
|
C:\local\boost_1_87_0
|
||||||
|
|||||||
Reference in New Issue
Block a user