mirror of
https://github.com/actions/github-script.git
synced 2025-12-08 08:06:23 +00:00
Add core to integration test
This commit is contained in:
5
.github/workflows/integration.yml
vendored
5
.github/workflows/integration.yml
vendored
@@ -8,9 +8,10 @@ jobs:
|
|||||||
- id: output-set
|
- id: output-set
|
||||||
uses: actions/github-script@master
|
uses: actions/github-script@master
|
||||||
with:
|
with:
|
||||||
script: return 'test'
|
script: return core.getInput('input-value')
|
||||||
result-encoding: string
|
result-encoding: string
|
||||||
|
input-value: output
|
||||||
- run: |
|
- run: |
|
||||||
if [[ "${{steps.output-set.outputs.result}}" != "test" ]]; then
|
if [[ "${{steps.output-set.outputs.result}}" != "output" ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user