mirror of
https://github.com/accelerator74/l4dtoolz.git
synced 2025-09-19 04:06:09 +08:00
Update workflows
This commit is contained in:
14
.github/workflows/l4d2-build.yml
vendored
14
.github/workflows/l4d2-build.yml
vendored
@ -32,11 +32,11 @@ jobs:
|
|||||||
- windows-latest
|
- windows-latest
|
||||||
|
|
||||||
mm_version:
|
mm_version:
|
||||||
- "1.12-dev"
|
- "master"
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- mm_version: "1.12-dev"
|
- mm_version: "master"
|
||||||
mm_branch: "1.12-dev"
|
mm_branch: "master"
|
||||||
|
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
os_short: linux
|
os_short: linux
|
||||||
@ -61,7 +61,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Add msbuild to PATH (Windows)
|
- name: Add msbuild to PATH (Windows)
|
||||||
if: startsWith(runner.os, 'Windows')
|
if: startsWith(runner.os, 'Windows')
|
||||||
uses: microsoft/setup-msbuild@v1.1
|
uses: microsoft/setup-msbuild@v2
|
||||||
|
|
||||||
- name: Install (Windows)
|
- name: Install (Windows)
|
||||||
if: startsWith(runner.os, 'Windows')
|
if: startsWith(runner.os, 'Windows')
|
||||||
@ -84,7 +84,7 @@ jobs:
|
|||||||
path: metamod-${{ matrix.mm_version }}
|
path: metamod-${{ matrix.mm_version }}
|
||||||
|
|
||||||
- name: Setting up Python
|
- name: Setting up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
|
||||||
@ -114,7 +114,7 @@ jobs:
|
|||||||
ambuild
|
ambuild
|
||||||
|
|
||||||
- name: Uploading package
|
- name: Uploading package
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ github.event.repository.name }}-l4d2-${{ env.GITHUB_SHA_SHORT }}
|
name: ${{ github.event.repository.name }}-l4d2-${{ matrix.os_short }}-${{ env.GITHUB_SHA_SHORT }}
|
||||||
path: src/build/package
|
path: src/build/package
|
14
.github/workflows/l4d_build.yml
vendored
14
.github/workflows/l4d_build.yml
vendored
@ -32,11 +32,11 @@ jobs:
|
|||||||
- windows-latest
|
- windows-latest
|
||||||
|
|
||||||
mm_version:
|
mm_version:
|
||||||
- "1.12-dev"
|
- "master"
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- mm_version: "1.12-dev"
|
- mm_version: "master"
|
||||||
mm_branch: "1.12-dev"
|
mm_branch: "master"
|
||||||
|
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
os_short: linux
|
os_short: linux
|
||||||
@ -61,7 +61,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Add msbuild to PATH (Windows)
|
- name: Add msbuild to PATH (Windows)
|
||||||
if: startsWith(runner.os, 'Windows')
|
if: startsWith(runner.os, 'Windows')
|
||||||
uses: microsoft/setup-msbuild@v1.1
|
uses: microsoft/setup-msbuild@v2
|
||||||
|
|
||||||
- name: Install (Windows)
|
- name: Install (Windows)
|
||||||
if: startsWith(runner.os, 'Windows')
|
if: startsWith(runner.os, 'Windows')
|
||||||
@ -84,7 +84,7 @@ jobs:
|
|||||||
path: metamod-${{ matrix.mm_version }}
|
path: metamod-${{ matrix.mm_version }}
|
||||||
|
|
||||||
- name: Setting up Python
|
- name: Setting up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
|
||||||
@ -114,7 +114,7 @@ jobs:
|
|||||||
ambuild
|
ambuild
|
||||||
|
|
||||||
- name: Uploading package
|
- name: Uploading package
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ github.event.repository.name }}-l4d-${{ env.GITHUB_SHA_SHORT }}
|
name: ${{ github.event.repository.name }}-l4d-${{ matrix.os_short }}-${{ env.GITHUB_SHA_SHORT }}
|
||||||
path: src/build/package
|
path: src/build/package
|
Reference in New Issue
Block a user