mirror of
https://github.com/actions/github-script.git
synced 2025-12-08 16:16:21 +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
|
||||
uses: actions/github-script@master
|
||||
with:
|
||||
script: return 'test'
|
||||
script: return core.getInput('input-value')
|
||||
result-encoding: string
|
||||
input-value: output
|
||||
- run: |
|
||||
if [[ "${{steps.output-set.outputs.result}}" != "test" ]]; then
|
||||
if [[ "${{steps.output-set.outputs.result}}" != "output" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user