mirror of
https://github.com/rumblefrog/setup-sp.git
synced 2025-04-19 14:17:59 +02:00
This action sets-up, cache and adds sourcemod scripting directory to the path
Typed rest client is already available as a result of dependency of Github toolchains So instead of including additional axios, we'll use already existing lib |
||
---|---|---|
lib | ||
node_modules | ||
src | ||
.gitattributes | ||
action.yml | ||
LICENSE | ||
package.json | ||
README.md | ||
tsconfig.json | ||
yarn.lock |
Setup SourcePawn Action
This action sets-up, cache and adds sourcemod scripting directory to the path
Usage
See action.yml
Basic:
steps:
- uses: actions/checkout@v1
- uses: rumblefrog/setup-sp@master
with:
version: '1.10.x'
- run: spcomp -iAnotherIncludeDirectory plugin.sp -o output/plugin.smx
Matrix:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
sm-version: [ '1.10.x', '1.11.x', '1.11.6467']
name: SM version ${{ matrix.sm-version }}
steps:
- uses: actions/checkout@v1
- name: Setup SP
uses: rumblefrog/setup-sp@master
with:
version: ${{ matrix.sm-version }}
- run: spcomp -iAnotherIncludeDirectory plugin.sp -o output/plugin.smx