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
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ on:
- master - master
- develop - develop
- github_actions_tests - github_actions_tests
- reduce_requirements_files
tags: tags:
release: release:
types: [published] types: [published]
@ -226,7 +227,7 @@ jobs:
- name: Extract branch name - name: Extract branch name
shell: bash 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 id: extract_branch
- name: Build distribution - name: Build distribution