Skip to content

Commit b827ce3

Browse files
committed
Chore(ci): use asdf
- use action to install asdf - install action-validator - fix action.yml (only string inputs allowed)
1 parent 598a7f3 commit b827ce3

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/pr.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- uses: actions/checkout@v4
9-
- run: curl https://github.com/mpalmer/action-validator/releases/download/v0.5.4/action-validator_linux_amd64 -o ./action-validator
10-
- run: chmod +x ./action-validator
11-
- run: ./action-validator ./action.yml
9+
- uses: asdf-vm/actions/install@v3
10+
with:
11+
tool_versions: |
12+
action-validator 0.5.4
13+
- run: asdf reshim action-validator
14+
- run: action-validator ./action.yml
1215

1316
custom-controller-login:
1417
needs:

action.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,11 @@ inputs:
2121
default: "~/.ssh/id_rsa"
2222
add-key:
2323
description: if set to true, run "runway key create"
24-
type: boolean
2524
required: true
26-
default: false
25+
default: 'false'
2726
setup-ssh:
2827
description: if set to true, setup ssh to work for "runway app deploy"
29-
type: boolean
30-
required: true
31-
default: false
28+
default: 'false'
3229
log-level:
3330
description: debug, info, warn, error
3431
default: error

0 commit comments

Comments
 (0)