mirror of
https://github.com/actions/github-script.git
synced 2025-12-08 16:16:21 +00:00
Separate integration workflow
This commit is contained in:
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@@ -3,20 +3,7 @@ on:
|
||||
pull_request: {branches: master}
|
||||
|
||||
jobs:
|
||||
integration:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: output-set
|
||||
uses: actions/github-script@master
|
||||
with:
|
||||
script: |
|
||||
core.setOutput('result', 'test')
|
||||
- run: |
|
||||
if [[ "${{steps.output-set.outputs.result}}" != "test" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
jest:
|
||||
ci:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
16
.github/workflows/integration.yml
vendored
Normal file
16
.github/workflows/integration.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
on:
|
||||
push: {branches: integration-workflow}
|
||||
|
||||
jobs:
|
||||
integration:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- id: output-set
|
||||
uses: actions/github-script@integration-workflow
|
||||
with:
|
||||
script: return 'test'
|
||||
result-encoding: string
|
||||
- run: |
|
||||
if [[ "${{steps.output-set.outputs.result}}" != "test" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user