From 39c58d393f79101caaa7c025828346a82fb8bce9 Mon Sep 17 00:00:00 2001 From: Nils Heydecker <48135649+Nilstrieb@users.noreply.github.com> Date: Fri, 12 Aug 2022 14:38:18 +0200 Subject: [PATCH] test --- .github/workflows/test.yml | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b665dd3..31c70a0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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