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