Skip to content

Commit 371f625

Browse files
committed
ci: Move env to job context
1 parent aa7d7fd commit 371f625

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -474,15 +474,14 @@ jobs:
474474
needs:
475475
- ci-success
476476
- parseversion
477+
env:
478+
branch: ${{ needs.parseversion.outputs.branch }}
479+
majorversion: ${{ needs.parseversion.outputs.majorversion }}
480+
version: ${{ needs.parseversion.outputs.version }}
477481

478482
# Only run this when pushing to master branch
479483
if: github.ref == 'refs/heads/master'
480484
steps:
481-
- env:
482-
branch: ${{ needs.parseversion.outputs.branch }}
483-
majorversion: ${{ needs.parseversion.outputs.majorversion }}
484-
version: ${{ needs.parseversion.outputs.version }}
485-
486485
- uses: actions/checkout@v3
487486

488487
- name: Push to stable release branch if master contains stable version

0 commit comments

Comments
 (0)