Skip to content

upload remaining inc #12

upload remaining inc

upload remaining inc #12

Workflow file for this run

name: Compile SAMP Gamemode
on:
workflow_dispatch:
push:
branches: [cwj-v2]
pull_request:
branches: [cwj-v2]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Compile SAMP Gamemode
run: |
cd pawno
./pawncc.exe ../gamemodes/bb_freeroam.pwn
- name: Commit and push if changed
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git add -A
git diff --quiet && git diff --staged --quiet || (git commit -m 'Update compiled gamemode' && git push)