Skip to content

Commit f5adaf2

Browse files
committed
add tests for YAML 1.1 boolean values in local action metadata
1 parent 1014018 commit f5adaf2

File tree

4 files changed

+27
-0
lines changed

4 files changed

+27
-0
lines changed

testdata/projects/local_action_yaml_1.1_boolean.out

Whitespace-only changes.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: 'My action'
2+
author: 'rhysd <https://rhysd.github.io>'
3+
description: 'This is test'
4+
5+
inputs:
6+
input1:
7+
required: yes
8+
input2:
9+
required: on
10+
input3:
11+
required: no
12+
input4:
13+
required: off
14+
15+
runs:
16+
using: 'node20'
17+
main: 'index.js'

testdata/projects/local_action_yaml_1.1_boolean/action/index.js

Whitespace-only changes.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
on: push
2+
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: ./action
8+
with:
9+
input1: foo
10+
input2: bar

0 commit comments

Comments
 (0)