mirror of
https://github.com/accelerator74/l4dtoolz.git
synced 2024-12-22 14:37:26 +08:00
Metamod 1.12 for build
This commit is contained in:
parent
b0867bb362
commit
a47c6c7171
22
.github/workflows/l4d2-build.yml
vendored
22
.github/workflows/l4d2-build.yml
vendored
@ -3,11 +3,17 @@ name: l4d2-build
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
tags:
|
||||
- '*'
|
||||
paths-ignore:
|
||||
- LICENSE
|
||||
- README.md
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
paths-ignore:
|
||||
- LICENSE
|
||||
- README.md
|
||||
@ -26,11 +32,11 @@ jobs:
|
||||
- windows-latest
|
||||
|
||||
mm_version:
|
||||
- "master"
|
||||
- "1.12-dev"
|
||||
|
||||
include:
|
||||
- mm_version: "master"
|
||||
mm_branch: "master"
|
||||
- mm_version: "1.12-dev"
|
||||
mm_branch: "1.12-dev"
|
||||
|
||||
- os: ubuntu-latest
|
||||
os_short: linux
|
||||
@ -71,7 +77,7 @@ jobs:
|
||||
)
|
||||
|
||||
- name: Checking out MM:Source
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: alliedmodders/metamod-source
|
||||
ref: ${{ matrix.mm_branch }}
|
||||
@ -80,7 +86,7 @@ jobs:
|
||||
- name: Setting up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.x'
|
||||
python-version: '3.11'
|
||||
|
||||
- name: Setting up ambuild
|
||||
run: |
|
||||
@ -88,14 +94,14 @@ jobs:
|
||||
pip install git+https://github.com/accelerator74/ambuild
|
||||
|
||||
- name: Checking out hl2sdk-l4d2
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: alliedmodders/hl2sdk
|
||||
ref: l4d2
|
||||
path: hl2sdk-l4d2
|
||||
|
||||
- name: Checking out own repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: src
|
||||
|
||||
@ -110,5 +116,5 @@ jobs:
|
||||
- name: Uploading package
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: L4DToolZ-l4d2-${{ env.GITHUB_SHA_SHORT }}
|
||||
name: ${{ github.event.repository.name }}-l4d2-${{ env.GITHUB_SHA_SHORT }}
|
||||
path: src/build/package
|
22
.github/workflows/l4d_build.yml
vendored
22
.github/workflows/l4d_build.yml
vendored
@ -3,11 +3,17 @@ name: l4d-build
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
tags:
|
||||
- '*'
|
||||
paths-ignore:
|
||||
- LICENSE
|
||||
- README.md
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
paths-ignore:
|
||||
- LICENSE
|
||||
- README.md
|
||||
@ -26,11 +32,11 @@ jobs:
|
||||
- windows-latest
|
||||
|
||||
mm_version:
|
||||
- "master"
|
||||
- "1.12-dev"
|
||||
|
||||
include:
|
||||
- mm_version: "master"
|
||||
mm_branch: "master"
|
||||
- mm_version: "1.12-dev"
|
||||
mm_branch: "1.12-dev"
|
||||
|
||||
- os: ubuntu-latest
|
||||
os_short: linux
|
||||
@ -71,7 +77,7 @@ jobs:
|
||||
)
|
||||
|
||||
- name: Checking out MM:Source
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: alliedmodders/metamod-source
|
||||
ref: ${{ matrix.mm_branch }}
|
||||
@ -80,7 +86,7 @@ jobs:
|
||||
- name: Setting up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.x'
|
||||
python-version: '3.11'
|
||||
|
||||
- name: Setting up ambuild
|
||||
run: |
|
||||
@ -88,14 +94,14 @@ jobs:
|
||||
pip install git+https://github.com/accelerator74/ambuild
|
||||
|
||||
- name: Checking out hl2sdk-l4d
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: alliedmodders/hl2sdk
|
||||
ref: l4d
|
||||
path: hl2sdk-l4d
|
||||
|
||||
- name: Checking out own repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: src
|
||||
|
||||
@ -110,5 +116,5 @@ jobs:
|
||||
- name: Uploading package
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: L4DToolZ-l4d-${{ env.GITHUB_SHA_SHORT }}
|
||||
name: ${{ github.event.repository.name }}-l4d-${{ env.GITHUB_SHA_SHORT }}
|
||||
path: src/build/package
|
Loading…
Reference in New Issue
Block a user