You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Setup AMXXPawn Compiler
v1
This action sets-up, cache and adds amxmodx scripting directory to the path
See action.yml
steps:
- uses: actions/checkout@v4
- uses: wopox1337/setup-amxxpawn@master
with:
version: '1.10.x'
- run: amxxpc -iAnotherIncludeDirectory plugin.sma -o output/plugin.amxx
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
amxx-version: [ '1.9.x', '1.10.x', '1.10.5467', '>= 1.10.5455']
name: AMXX version ${{ matrix.amxx-version }}
steps:
- uses: actions/checkout@v4
- name: Setup AMXX
uses: wopox1337/setup-amxxpawn@master
with:
version: ${{ matrix.amxx-version }}
- run: amxxpc -iAnotherIncludeDirectory plugin.sma -o output/plugin.amxx
jobs:
build:
runs-on: ubuntu-latest
name: AMXX version ${{ matrix.amxx-version }}
steps:
- uses: actions/checkout@v4
- name: Setup AMXX
id: setup_amxx
uses: wopox1337/setup-amxxpawn@master
with:
version: '1.10.x'
version-file: ./plugin.sma
- run: |
amxxpc -iAnotherIncludeDirectory plugin.sma -o output/plugin.amxx
echo Plugin version ${{ steps.setup_amxx.outputs.plugin-version }}