This action sets-up, cache and adds sourcemod scripting directory to the path
Find a file
rumblefrog 27193c76a5
refactor(scraper): use typed rest client
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
2019-11-15 22:45:48 -05:00
lib refactor(scraper): use typed rest client 2019-11-15 22:45:48 -05:00
node_modules refactor(scraper): use typed rest client 2019-11-15 22:45:48 -05:00
src refactor(scraper): use typed rest client 2019-11-15 22:45:48 -05:00
.gitattributes git: linguist vendored 2019-11-15 05:56:32 -05:00
action.yml fix(action): entry point 2019-11-15 04:53:03 -05:00
LICENSE Initial commit 2019-11-14 12:45:55 -05:00
package.json refactor(scraper): use typed rest client 2019-11-15 22:45:48 -05:00
README.md readme: fix examples 2019-11-15 19:22:02 -05:00
tsconfig.json alpha: action completion 2019-11-15 04:37:59 -05:00
yarn.lock refactor(scraper): use typed rest client 2019-11-15 22:45:48 -05: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']

    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