From 371f6253227bb3c95dc43ae8aaa697ecd51be596 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Wed, 31 May 2023 22:15:39 +0200 Subject: [PATCH] ci: Move env to job context --- .github/workflows/build.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 52e0a1de45..fc0c8d236f 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