sourcemod-plugins/.forgejo/workflows/default.yml
Jackz 6b5f3b3183
All checks were successful
/ Sourcemod v1.11.x (push) Successful in 37s
/ Sourcemod v1.12.x (push) Successful in 42s
/ Sourcemod v1.13.x (push) Successful in 42s
Add version to artifact name
2025-09-22 15:04:57 -05:00

23 lines
No EOL
719 B
YAML

on: [push]
jobs:
build:
runs-on: docker
strategy:
matrix:
sm-version: [ '1.11.x', '1.12.x', '1.13.x']
name: Sourcemod v${{ matrix.sm-version }}
steps:
- uses: actions/checkout@v5
- name: Setup sourcepawn
uses: https://github.com/rumblefrog/setup-sp@bb7306e551914d48b2d8405dba17ddc46a4a12a2
with:
version: ${{ matrix.sm-version }}
- name: Build Plugins
env:
SPCOMP_PATH: spcomp
run: chmod +x compile_all.sh && ./compile_all.sh
- name: Upload artifacts
uses: https://data.forgejo.org/forgejo/upload-artifact@v4
with:
name: plugins-${{ matrix.sm-version }}.zip
path: plugins/*