diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2023-05-31 22:15:39 +0200 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2023-05-31 22:15:39 +0200 |
| commit | 371f6253227bb3c95dc43ae8aaa697ecd51be596 (patch) | |
| tree | b8397be7ad28b588e71add5a6b14423cadd05224 /.github/workflows | |
| parent | aa7d7fd052b54bdee9ab8d056d65402b596d378b (diff) | |
ci: Move env to job context
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 52e0a1d..fc0c8d2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 |
