mirror of
https://github.com/Noratrieb/actions-playground.git
synced 2026-01-14 17:05:05 +01:00
test
This commit is contained in:
parent
a94a5838dc
commit
39c58d393f
1 changed files with 21 additions and 9 deletions
30
.github/workflows/test.yml
vendored
30
.github/workflows/test.yml
vendored
|
|
@ -7,19 +7,31 @@ on:
|
|||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
job1:
|
||||
install-build:
|
||||
outputs:
|
||||
uwu: owo
|
||||
foo-service: 'true'
|
||||
bar-service: 'true'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: echo owo
|
||||
- name: install
|
||||
id: fun
|
||||
run: |
|
||||
echo owo
|
||||
job2:
|
||||
needs: [job1]
|
||||
pnpm install!
|
||||
|
||||
foo-service:
|
||||
needs: [install-build]
|
||||
runs-on: ubuntu-latest
|
||||
if: 'true'
|
||||
steps:
|
||||
- name: Echo other output
|
||||
run: test owo = ${{ needs.job1.outputs.uwu }}
|
||||
- name: Build
|
||||
run: |
|
||||
./foo-service/build.sh
|
||||
|
||||
bar-service:
|
||||
needs: [install-build]
|
||||
runs-on: ubuntu-latest
|
||||
if: 'false'
|
||||
steps:
|
||||
- name: Build
|
||||
run: |
|
||||
./bar-service/build.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue