This commit is contained in:
nora 2022-08-12 14:57:49 +02:00
parent 157ae08827
commit d38adae40e

View file

@ -13,6 +13,8 @@ jobs:
bar-service: ${{ steps.install.outputs.bar-service }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: install
id: install
run: |
@ -24,15 +26,19 @@ jobs:
runs-on: ubuntu-latest
if: ${{ needs.install-build.outputs.foo-service == 'run' }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build
run: |
echo "building..." ${{ needs.install-build.outputs.foo-service }}
./foo-service/build.sh
bar-service:
needs: [install-build]
runs-on: ubuntu-latest
if: ${{ needs.install-build.outputs.bar-service == 'run' }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build
run: |
echo "building ..." ${{ needs.install-build.outputs.bar-service }}
./bar-service/build.sh