From a28a72fc7fa7780d26d74b2a859e8cb30fffbbf8 Mon Sep 17 00:00:00 2001 From: GuillaumeFalourd Date: Thu, 29 Jul 2021 09:39:20 -0300 Subject: [PATCH] add workflow-tester8 Signed-off-by: GuillaumeFalourd --- .github/workflows/workflow-tester8.yml | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/workflow-tester8.yml diff --git a/.github/workflows/workflow-tester8.yml b/.github/workflows/workflow-tester8.yml new file mode 100644 index 0000000000..571248e5e9 --- /dev/null +++ b/.github/workflows/workflow-tester8.yml @@ -0,0 +1,32 @@ +name: Test 8 + +on: + release: + types: [published] + # tags: + # - 'prod-*' + # - 'dev-*' + +jobs: + job1: + runs-on: ubuntu-latest + outputs: + tag_version: ${{ steps.get_tag_version.outputs.version }} + steps: + - name: Get the version + id: get_tag_version + run: echo ::set-output name=version::${GITHUB_REF/refs\/tags\//} + + job2: + runs-on: ubuntu-latest + needs: [job1] + if: contains( ${{needs.job1.outputs.tag_version}} , 'dev-') + steps: + - run: echo "${{needs.job1.outputs.tag_version}}" + + job3: + runs-on: ubuntu-latest + needs: [job1] + if: contains( ${{needs.job1.outputs.tag_version}} , 'prod-') + steps: + - run: echo "${{needs.job1.outputs.tag_version}}" \ No newline at end of file