mirror of
https://github.com/Noratrieb/actions-playground.git
synced 2026-01-14 09:05:00 +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 }}
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue