mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
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
|
||||
- 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
|
||||
|
|
Loading…
Reference in New Issue
Block a user