mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2024-11-29 11:24:19 +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:
parent
5c0c675c58
commit
6f93de3554
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
|||||||
DEPENDENCIES_FOLDER: dependencies
|
DEPENDENCIES_FOLDER: dependencies
|
||||||
DEPENDENCIES_ROOT: ${{ github.workspace }}/dependencies
|
DEPENDENCIES_ROOT: ${{ github.workspace }}/dependencies
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
path: metamod-source
|
path: metamod-source
|
||||||
@ -53,7 +53,7 @@ jobs:
|
|||||||
run: echo 'SDKS=["episode1","tf2","l4d2","csgo","dota","insurgency"]' >> $GITHUB_ENV
|
run: echo 'SDKS=["episode1","tf2","l4d2","csgo","dota","insurgency"]' >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
env:
|
env:
|
||||||
cache-name: hl2sdk
|
cache-name: hl2sdk
|
||||||
with:
|
with:
|
||||||
@ -62,7 +62,7 @@ jobs:
|
|||||||
restore-keys: ${{ runner.os }}-build-${{ env.cache-name }}-
|
restore-keys: ${{ runner.os }}-build-${{ env.cache-name }}-
|
||||||
|
|
||||||
# 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
|
||||||
|
Loading…
Reference in New Issue
Block a user