mirror of
https://github.com/Noratrieb/actions-playground.git
synced 2026-01-16 09:55:04 +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 ]
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
job1:
|
install-build:
|
||||||
outputs:
|
outputs:
|
||||||
uwu: owo
|
foo-service: 'true'
|
||||||
|
bar-service: 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: echo owo
|
- name: install
|
||||||
id: fun
|
id: fun
|
||||||
run: |
|
run: |
|
||||||
echo owo
|
pnpm install!
|
||||||
job2:
|
|
||||||
needs: [job1]
|
foo-service:
|
||||||
|
needs: [install-build]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: 'true'
|
||||||
steps:
|
steps:
|
||||||
- name: Echo other output
|
- name: Build
|
||||||
run: test owo = ${{ needs.job1.outputs.uwu }}
|
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