mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
CI: Make it clearer why a branch push was omitted
This commit is contained in:
parent
f56112b688
commit
392795ebe0
1 changed files with 4 additions and 0 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -479,6 +479,10 @@ jobs:
|
||||||
if: ${{ env.versionmajor == env.STABLE_VERSION }}
|
if: ${{ env.versionmajor == env.STABLE_VERSION }}
|
||||||
run: git push -u origin ${{ env.branch }}
|
run: git push -u origin ${{ env.branch }}
|
||||||
|
|
||||||
|
- name: Else case, master did not contain the stable version version
|
||||||
|
if: ${{ env.versionmajor != env.STABLE_VERSION }}
|
||||||
|
run: echo "Master branch contains a development release, no git push performed"
|
||||||
|
|
||||||
# Only runs when pushing to master branch
|
# Only runs when pushing to master branch
|
||||||
# Bors run CI against staging branch,
|
# Bors run CI against staging branch,
|
||||||
# if that succeeds Borst tries against master branch
|
# if that succeeds Borst tries against master branch
|
||||||
|
|
Loading…
Reference in a new issue