Metamod 1.12 for build

This commit is contained in:
Accelerator 2023-12-01 15:22:24 +03:00 committed by GitHub
parent b0867bb362
commit a47c6c7171
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 16 deletions

View File

@ -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

View File

@ -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