From d65d886d7de343d763c83f602fe9dc1d3da5ac39 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 13 Sep 2020 16:54:21 +0200 Subject: [PATCH] add branch to CI - change branch-detection to support tags as well --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c6141344..a50b0886e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,7 @@ on: - master - develop - github_actions_tests + - reduce_requirements_files tags: release: types: [published] @@ -226,7 +227,7 @@ jobs: - name: Extract branch name shell: bash - run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" + run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})" id: extract_branch - name: Build distribution