From fc74ef3c190bb391805750602d7b7d04ce18c947 Mon Sep 17 00:00:00 2001 From: Nolwen Date: Tue, 30 Apr 2024 15:55:23 +0200 Subject: [PATCH] skip step output --- .github/workflows/build.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d04b267..8d675bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,6 +16,24 @@ concurrency: jobs: + only-on-master: + runs-on: ubuntu-latest + if: $github.ref == format('refs/heads/{0}', github.event.repository.default_branch) + outputs: + notebooks-branch: ${{ steps.write-output.outputs.notebooks_branch }} + steps: + - id: write-output + run: | + echo "yo" + echo "notebooks_branch=toto" >> $GITHUB_OUTPUT + + on-all-branches: + needs: only-on-master + runs-on: ubuntu-latest + if: always() + steps: + - run: echo yo ${{ needs.only-on-master.outputs.notebooks-branch }} + testing-file-existence: runs-on: ubuntu-latest strategy: