mirror of
https://github.com/Noratrieb/actions-playground.git
synced 2026-01-14 17:05:05 +01:00
finally.
This commit is contained in:
parent
157ae08827
commit
d38adae40e
1 changed files with 8 additions and 2 deletions
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
|
|
@ -13,6 +13,8 @@ jobs:
|
||||||
bar-service: ${{ steps.install.outputs.bar-service }}
|
bar-service: ${{ steps.install.outputs.bar-service }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
- name: install
|
- name: install
|
||||||
id: install
|
id: install
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -24,15 +26,19 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ needs.install-build.outputs.foo-service == 'run' }}
|
if: ${{ needs.install-build.outputs.foo-service == 'run' }}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
echo "building..." ${{ needs.install-build.outputs.foo-service }}
|
./foo-service/build.sh
|
||||||
|
|
||||||
bar-service:
|
bar-service:
|
||||||
needs: [install-build]
|
needs: [install-build]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ needs.install-build.outputs.bar-service == 'run' }}
|
if: ${{ needs.install-build.outputs.bar-service == 'run' }}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
echo "building ..." ${{ needs.install-build.outputs.bar-service }}
|
./bar-service/build.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue