1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-28 10:24:20 +01:00

Update Github Action workflow versions

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:21:12 +01:00
parent 5c0c675c58
commit 6f93de3554

View File

@ -43,7 +43,7 @@ jobs:
DEPENDENCIES_FOLDER: dependencies
DEPENDENCIES_ROOT: ${{ github.workspace }}/dependencies
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
path: metamod-source
@ -53,7 +53,7 @@ jobs:
run: echo 'SDKS=["episode1","tf2","l4d2","csgo","dota","insurgency"]' >> $GITHUB_ENV
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: hl2sdk
with:
@ -62,7 +62,7 @@ jobs:
restore-keys: ${{ runner.os }}-build-${{ env.cache-name }}-
# Setup Python for AMBuild
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
name: Setup Python 3.8
with:
python-version: 3.8