This commit is contained in:
Robin Appelman 2025-10-27 00:48:23 +01:00
commit ea84235bc1

View file

@ -1,27 +0,0 @@
name: Build sourcepawn and commit
on:
push:
paths:
- '**.sp'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Compile sourcepawn
uses: spiretf/spcomp@v0.1
with:
source: './plugin/mapdownloader.sp'
target: './plugin/mapdownloader.smx'
- name: Commit files
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -m "Compile sourcepawn" -a
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}