Update Github Action workflow versions (#1858)
The currently used versions use deprecated features and Node 12 which is EOL. Switch to newer versions as adviced. https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/ https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
This commit is contained in:
parent
4989666d72
commit
3595525f12
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -36,13 +36,13 @@ jobs:
|
|||||||
MYSQL_VERSION: '5.5'
|
MYSQL_VERSION: '5.5'
|
||||||
MMSOURCE_VERSION: '1.10'
|
MMSOURCE_VERSION: '1.10'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
path: sourcemod
|
path: sourcemod
|
||||||
|
|
||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
env:
|
env:
|
||||||
cache-name: hl2sdk-mysql-mmsource
|
cache-name: hl2sdk-mysql-mmsource
|
||||||
with:
|
with:
|
||||||
@ -53,7 +53,7 @@ jobs:
|
|||||||
${{ runner.os }}-build-${{ env.cache-name }}-mysql${{ env.MYSQL_VERSION }}-
|
${{ runner.os }}-build-${{ env.cache-name }}-mysql${{ env.MYSQL_VERSION }}-
|
||||||
|
|
||||||
# Setup Python for AMBuild
|
# Setup Python for AMBuild
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v4
|
||||||
name: Setup Python 3.8
|
name: Setup Python 3.8
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
|
6
.github/workflows/scripting.yml
vendored
6
.github/workflows/scripting.yml
vendored
@ -27,12 +27,12 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
ARCH: x86,x86_64
|
ARCH: x86,x86_64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
# Setup Python for AMBuild
|
# Setup Python for AMBuild
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v4
|
||||||
name: Setup Python 3.8
|
name: Setup Python 3.8
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
@ -73,7 +73,7 @@ jobs:
|
|||||||
echo "SM_VERSION=$(cat ../product.version)" >> $GITHUB_ENV
|
echo "SM_VERSION=$(cat ../product.version)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Archive tooling
|
- name: Archive tooling
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: sourcemod-tooling-${{ env.SM_VERSION }}-${{ matrix.os_short }}
|
name: sourcemod-tooling-${{ env.SM_VERSION }}-${{ matrix.os_short }}
|
||||||
path: build/package
|
path: build/package
|
||||||
|
Loading…
Reference in New Issue
Block a user