This action sets-up, cache and adds sourcemod scripting directory to the path
Find a file
2020-10-14 14:20:21 -04:00
.github/workflows workflow: self test 2019-11-16 01:44:25 -05:00
__tests__ workflow: self test 2019-11-16 01:44:25 -05:00
lib chore: update dep & lib compile w/ ts4 2020-10-14 14:20:21 -04:00
node_modules chore: update dep & lib compile w/ ts4 2020-10-14 14:20:21 -04:00
src installer: export include path 2019-11-16 01:43:48 -05:00
.gitattributes workflow: self test 2019-11-16 01:44:25 -05:00
action.yml fix(action): entry point 2019-11-15 04:53:03 -05:00
CODEOWNERS git: code owners 2019-11-17 20:16:14 -05:00
LICENSE Initial commit 2019-11-14 12:45:55 -05:00
package.json build(deps): bump @actions/core from 1.2.0 to 1.2.6 2020-10-01 17:24:01 +00:00
README.md workflow: self test 2019-11-16 01:44:25 -05:00
tsconfig.json tsconfig: remove dom from lib 2019-11-17 20:32:19 -05:00
yarn.lock build(deps): bump @actions/core from 1.2.0 to 1.2.6 2020-10-01 17:24:01 +00:00

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', '>= 1.11.6478']

    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