-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
40 lines (39 loc) · 1.17 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
40
name: "Create Image"
description: "Create and prepare a customized Squeak all-in-one image"
inputs:
squeak-version:
description: "The version of Squeak to be used"
required: true
squeak-bitness:
description: "The bitness of the image to be created"
required: false
default: "64"
prepare-script:
description: "Path to `.st` file that will be executed before saving the image"
required: false
postpare-script:
description: "Path to `.st` file that will be executed when the image is opened again"
required: false
branding:
icon: box
color: white
outputs:
bundle-path:
description: "Path to created image bundle"
value: ${{ steps.create-image.outputs.bundle-path }}
runs:
using: 'composite'
steps:
- uses: actions/checkout@v2
- id: smalltalkci
uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: Squeak64-Trunk
- id: create-image
run: ${{ github.action_path }}/src/create_image.sh
shell: bash
env:
SQUEAK_VERSION: ${{ inputs.squeak-version }}
SQUEAK_BITNESS: ${{ inputs.squeak-bitness }}
PREPARE_SCRIPT: ${{ inputs.prepare-script }}
POSTPARE_SCRIPT: ${{ inputs.postpare-script }}