add branch to CI - change branch-detection to support tags as well

This commit is contained in:
Matthias 2020-09-13 16:54:21 +02:00
parent ba8e93e2a1
commit d65d886d7d

View File

@ -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