mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-29 15:04:32 +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:
|
||||||
|
branch: ${{ needs.parseversion.outputs.branch }}
|
||||||
|
majorversion: ${{ needs.parseversion.outputs.majorversion }}
|
||||||
|
version: ${{ needs.parseversion.outputs.version }}
|
||||||
|
|
||||||
# Only run this when pushing to master branch
|
# Only run this when pushing to master branch
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
steps:
|
steps:
|
||||||
- env:
|
|
||||||
branch: ${{ needs.parseversion.outputs.branch }}
|
|
||||||
majorversion: ${{ needs.parseversion.outputs.majorversion }}
|
|
||||||
version: ${{ needs.parseversion.outputs.version }}
|
|
||||||
|
|
||||||
- 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