mirror of
https://codeberg.org/spire/mapdownloader.git
synced 2026-06-03 18:24:11 +02:00
actions test
This commit is contained in:
parent
e5776c7d2e
commit
99cecd1e16
1 changed files with 24 additions and 0 deletions
24
.github/workflows/compile.yml
vendored
Normal file
24
.github/workflows/compile.yml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
name: Build sourcepawn and commit
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Compile sourcepawn
|
||||
uses: spiretf/spcomp@v0.0.2
|
||||
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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue