File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 44 push : {branches: main}
55
66jobs :
7- integration :
7+ test-return :
88 runs-on : ubuntu-latest
99 steps :
1010 - id : output-set
1717 if [[ "${{steps.output-set.outputs.result}}" != "output" ]]; then
1818 exit 1
1919 fi
20+
21+ test-relative-require :
22+ runs-on : ubuntu-latest
23+ steps :
24+ - id : output-set
25+ uses : actions/github-script@main
26+ with :
27+ script : return require('./package.json').name
28+ result-encoding : string
29+ input-value : output
30+ - run : |
31+ if [[ "${{steps.output-set.outputs.result}}" != "github-script" ]]; then
32+ exit 1
33+ fi
34+
35+ test-npm-require :
36+ runs-on : ubuntu-latest
37+ steps :
38+ - id : output-set
39+ uses : actions/github-script@main
40+ with :
41+ script : return require('@actions/core/package.json').name
42+ result-encoding : string
43+ input-value : output
44+ - run : |
45+ if [[ "${{steps.output-set.outputs.result}}" != "@actions/core" ]]; then
46+ exit 1
47+ fi
You can’t perform that action at this time.
0 commit comments