mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 12:12:50 +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:
|
||||
- ci-success
|
||||
- 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
|
||||
if: github.ref == 'refs/heads/master'
|
||||
steps:
|
||||
- env:
|
||||
branch: ${{ needs.parseversion.outputs.branch }}
|
||||
majorversion: ${{ needs.parseversion.outputs.majorversion }}
|
||||
version: ${{ needs.parseversion.outputs.version }}
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Push to stable release branch if master contains stable version
|
||||
|
|
Loading…
Reference in a new issue