add branch to CI - change branch-detection to support tags as well
This commit is contained in:
parent
ba8e93e2a1
commit
d65d886d7d
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user