diff --git a/.github/workflows/l4d2-build.yml b/.github/workflows/l4d2-build.yml index 45be552..38d23e8 100644 --- a/.github/workflows/l4d2-build.yml +++ b/.github/workflows/l4d2-build.yml @@ -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 \ No newline at end of file diff --git a/.github/workflows/l4d_build.yml b/.github/workflows/l4d_build.yml index 2d88346..911e917 100644 --- a/.github/workflows/l4d_build.yml +++ b/.github/workflows/l4d_build.yml @@ -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 \ No newline at end of file