setup-sp/action.yml
2024-08-30 23:45:00 -04:00

31 lines
No EOL
835 B
YAML

name: 'Setup SourcePawn Compiler'
author: 'rumblefrog'
description: 'Install and setup SourcePawn compiler'
inputs:
version:
description: 'Version of SP compiler'
required: true
default: '1.10.x'
version-file:
description: 'File to parse to get the version of the plugin'
required: false
default: ''
define-name:
description: 'Name of the define for the version of the plugin if you are using one'
required: false
default: ''
no-spcomp-proxy:
description: 'Whether spcomp should not be proxied to fix relative include path'
required: false
default: 'false'
outputs:
version:
description: 'Version of the SP compiler used'
version-file:
description: 'Version of the .sp file'
runs:
using: 'node20'
main: 'lib/index.js'
branding:
icon: 'command'
color: 'blue'