mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
ci: Move env to job context
This commit is contained in:
parent
aa7d7fd052
commit
371f625322
1 changed files with 4 additions and 5 deletions
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
@ -474,15 +474,14 @@ jobs:
|
||||||
needs:
|
needs:
|
||||||
- ci-success
|
- ci-success
|
||||||
- parseversion
|
- parseversion
|
||||||
|
env:
|
||||||
# Only run this when pushing to master branch
|
|
||||||
if: github.ref == 'refs/heads/master'
|
|
||||||
steps:
|
|
||||||
- env:
|
|
||||||
branch: ${{ needs.parseversion.outputs.branch }}
|
branch: ${{ needs.parseversion.outputs.branch }}
|
||||||
majorversion: ${{ needs.parseversion.outputs.majorversion }}
|
majorversion: ${{ needs.parseversion.outputs.majorversion }}
|
||||||
version: ${{ needs.parseversion.outputs.version }}
|
version: ${{ needs.parseversion.outputs.version }}
|
||||||
|
|
||||||
|
# Only run this when pushing to master branch
|
||||||
|
if: github.ref == 'refs/heads/master'
|
||||||
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Push to stable release branch if master contains stable version
|
- name: Push to stable release branch if master contains stable version
|
||||||
|
|
Loading…
Reference in a new issue