Skip to content

Commit 9b00f61

Browse files
committed
Manually setup spcomp
rumblefrog/setup-sp currently doesn't pick up SourceMod builds that were published on Github, so we'll just spec the desired package URL for now.
1 parent f2f92ab commit 9b00f61

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/build-on-release.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
release:
66
types: [published]
77

8+
env:
9+
SOURCEMOD_PACKAGE_URL: "https://github.com/alliedmodders/sourcemod/releases/download/1.13.0.7316/sourcemod-1.13.0-git7316-linux.tar.gz"
10+
811
jobs:
912
run:
1013
name: Build Release Package
@@ -16,10 +19,10 @@ jobs:
1619
submodules: true
1720

1821
- name: Setup SourcePawn Compiler
19-
uses: rumblefrog/setup-sp@v1.2.1
20-
with:
21-
version: "1.13.x"
22-
no-spcomp-proxy: true
22+
run: |
23+
mkdir "smpkg"
24+
curl -L "${SOURCEMOD_PACKAGE_URL}" | tar -C "smpkg" -xzf - addons/sourcemod/scripting
25+
echo "$(realpath smpkg/addons/sourcemod/scripting)" >> "$GITHUB_PATH"
2326
2427
- name: Setup Ninja Build
2528
uses: ashutoshvarma/setup-ninja@master

0 commit comments

Comments
 (0)