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:
peace-maker 2022-11-07 15:09:54 +01:00 committed by GitHub
parent 4989666d72
commit 3595525f12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -36,13 +36,13 @@ jobs:
MYSQL_VERSION: '5.5'
MMSOURCE_VERSION: '1.10'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
path: sourcemod
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: hl2sdk-mysql-mmsource
with:
@ -53,7 +53,7 @@ jobs:
${{ runner.os }}-build-${{ env.cache-name }}-mysql${{ env.MYSQL_VERSION }}-
# Setup Python for AMBuild
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
name: Setup Python 3.8
with:
python-version: 3.8

View File

@ -27,12 +27,12 @@ jobs:
env:
ARCH: x86,x86_64
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
# Setup Python for AMBuild
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
name: Setup Python 3.8
with:
python-version: 3.8
@ -73,7 +73,7 @@ jobs:
echo "SM_VERSION=$(cat ../product.version)" >> $GITHUB_ENV
- name: Archive tooling
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: sourcemod-tooling-${{ env.SM_VERSION }}-${{ matrix.os_short }}
path: build/package