-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathaction.yml
39 lines (39 loc) · 1.31 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# action.yml
name: 'LÖVE Build'
author: 'Nathan Hartland <@nhartland>'
description: 'Action for building LÖVE project distributables (Win32/Win64/Mac/love)'
branding:
icon: 'heart'
color: 'blue'
inputs:
app_name:
description: 'Name of the application to be built'
default: 'love-build-app'
required: true
love_version:
description: 'Version of LÖVE to be used in building the application'
default: '11.3'
required: true
dependencies:
description: 'Path to dependencies rockspec relative to GitHub workspace'
required: false
source_dir:
description: 'Path in the repository to the subdirectory containing `main.lua`. By default the repo root'
default: "./"
required: true
result_dir:
description: 'Directory in the GitHub workspace where the built distributables should be located'
default: "release"
required: true
outputs:
love-filename:
description: 'Path (relative to GitHub workspace) of built love file'
win32-filename:
description: 'Path (relative to GitHub workspace) of built win32 application'
win64-filename:
description: 'Path (relative to GitHub workspace) of built win64 application'
macos-filename:
description: 'Path (relative to GitHub workspace) of built macos application'
runs:
using: 'docker'
image: 'Dockerfile'