From 6694eb6755f13a56f9ccfcf4ac42b65d86a4c4c0 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Mon, 24 Oct 2022 12:55:05 +0200 Subject: [PATCH] ci: fix retention days --- .github/workflows/insider-linux.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/insider-linux.yml b/.github/workflows/insider-linux.yml index 52eefca..97ecd6f 100644 --- a/.github/workflows/insider-linux.yml +++ b/.github/workflows/insider-linux.yml @@ -105,7 +105,7 @@ jobs: with: name: remote-dependencies-${{ matrix.vscode_arch }} path: ./vscode/remote/node_modules - retention-days: ${{ needs.check.outputs.SHOULD_BUILD == 'yes' && 30 || 1 }} + retention-days: ${{ needs.check.outputs.SHOULD_DEPLOY == 'yes' && 30 || 1 }} build: needs: @@ -143,6 +143,11 @@ jobs: if: needs.check.outputs.SHOULD_BUILD == 'yes' || needs.check.outputs.SHOULD_DEPLOY == 'yes' steps: + - name: Re-export env variables + run: | + echo "SHOULD_BUILD=${SHOULD_BUILD}" >> "${GITHUB_ENV}" + echo "SHOULD_DEPLOY=${SHOULD_DEPLOY}" >> "${GITHUB_ENV}" + - uses: actions/checkout@v3 with: ref: ${{ env.GITHUB_BRANCH }}