File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ Also installs arm-gcc gnu toolchain.
11
11
12
12
- ` version ` - Specified version of the SDK. Optional. Default value is ` latest ` .
13
13
- ` cache ` - Cache installer. Default by ` true ` .
14
+ - ` custom-url ` - Custom URL to the SDK installer. Useful for beta versions. If set, ` version ` will be ignored.
14
15
15
16
16
17
## Usage Example
Original file line number Diff line number Diff line change 9
9
default : latest
10
10
description : SDK version (ex. `2.0.0` or default `latest`).
11
11
required : false
12
+ custom-url :
13
+ description : Custom URL to the SDK installer. Useful for beta versions.
14
+ required : false
12
15
cache :
13
16
default : " true"
14
17
description : Cache installer.
39
42
URL="https://download.panic.com/playdate_sdk${RUNNER_OS_PART?}PlaydateSDK-${{ inputs.version }}.${OS_EXT?}"
40
43
echo "filename=sdk.$OS_EXT" >> $GITHUB_OUTPUT
41
44
echo "ext=$OS_EXT" >> $GITHUB_OUTPUT
42
- echo "url=$URL" >> $GITHUB_OUTPUT
45
+ echo "url=${{ inputs.custom-url || '$ URL' }} " >> $GITHUB_OUTPUT
43
46
44
47
- name : get direct url
45
48
id : direct-url
You can’t perform that action at this time.
0 commit comments