mirror of
https://codeberg.org/spire/spcomp.git
synced 2026-06-03 16:44:08 +02:00
add action definition
This commit is contained in:
parent
a954f6cda2
commit
ce9514fffa
1 changed files with 16 additions and 0 deletions
16
action.yml
Normal file
16
action.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
name: 'Compile Sourcemod plugin'
|
||||||
|
description: 'Compile sourcemod plugin when source changed'
|
||||||
|
author: 'icewind1991'
|
||||||
|
inputs:
|
||||||
|
source:
|
||||||
|
description: 'Path to sourcepawn file'
|
||||||
|
required: true
|
||||||
|
target:
|
||||||
|
description: 'Path to the output smx'
|
||||||
|
required: true
|
||||||
|
runs:
|
||||||
|
using: 'docker'
|
||||||
|
image: 'Dockerfile'
|
||||||
|
args:
|
||||||
|
- ${{ inputs.who-to-source }}
|
||||||
|
- ${{ inputs.target }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue