mirror of
https://github.com/actions/github-script.git
synced 2026-04-07 14:49:25 +00:00
Separate integration workflow
This commit is contained in:
parent
7afad1e364
commit
d73e75dea8
4 changed files with 19 additions and 16 deletions
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue