Skip to content

Commit

Permalink
Bump Actions versions
Browse files Browse the repository at this point in the history
Drop actions-rs/toolchain and actions-rs/cargo actions. rustup and cargo are included in the Runner images and the actions are no longer maintained.
  • Loading branch information
peace-maker committed Dec 15, 2024
1 parent 02c9518 commit d0892e8
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
- windows-latest

sm_version:
- "1.8"
- "1.9"
- "1.10"
- "1.11"
- "1.12"
- "latest"

include:
Expand All @@ -41,9 +41,6 @@ jobs:
meta_version: latest
meta_branch: master

- sm_version: "1.8"
sm_branch: "1.8-dev"

- sm_version: "1.9"
sm_branch: "1.9-dev"

Expand All @@ -55,6 +52,11 @@ jobs:
meta_version: "1.11"
meta_branch: "1.11-dev"

- sm_version: "1.12"
sm_branch: "1.12-dev"
meta_version: "1.11"
meta_branch: "1.11-dev"

- os: ubuntu-20.04
os_short: linux

Expand All @@ -63,17 +65,12 @@ jobs:

steps:
- name: Preparing to dump debug symbols
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: mozilla/dump_syms
path: dump_syms
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: install
args: --all-features --path ./dump_syms
- name: Install dump_syms
run: cargo install --release --all-features --path ./dump_syms

- name: Prepare env
shell: bash
Expand All @@ -91,7 +88,7 @@ jobs:
- name: Add msbuild to PATH (Windows)
if: runner.os == 'Windows'
uses: microsoft/setup-msbuild@v1.1.3
uses: microsoft/setup-msbuild@v2

- name: Install (Windows)
if: runner.os == 'Windows'
Expand All @@ -108,22 +105,22 @@ jobs:
)
- name: Getting SourceMod ${{ matrix.sm_version }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: alliedmodders/sourcemod
ref: ${{ matrix.sm_branch }}
path: sourcemod-${{ matrix.sm_version }}
submodules: recursive

- name: Getting MM:Source ${{ matrix.meta_version }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: alliedmodders/metamod-source
ref: ${{ matrix.meta_branch }}
path: metamod-${{ matrix.meta_version }}

- name: Getting Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5

- name: Getting ambuild
run: |
Expand All @@ -141,7 +138,7 @@ jobs:
done
- name: Getting own repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: sourcetvmanager
submodules: recursive
Expand All @@ -167,7 +164,7 @@ jobs:
done
- name: Uploading package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sourcetvmanager-sm${{ matrix.sm_version }}-${{ matrix.os_short }}-${{ env.GITHUB_SHA_SHORT }}
path: sourcetvmanager/build/package

0 comments on commit d0892e8

Please sign in to comment.