From e42f7f8338f3d35f63b49fdab51eac3d0a010848 Mon Sep 17 00:00:00 2001 From: Clint Branham Date: Wed, 18 Mar 2026 16:40:21 -0500 Subject: [PATCH] fix(ci): use runner.temp context in env blocks, RUNNER_TEMP in run blocks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GitHub Actions env: blocks don't do shell expansion — ${RUNNER_TEMP} is literal there. Use ${{ runner.temp }} for env: blocks and keep ${RUNNER_TEMP} for run: blocks where the shell resolves it. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/integration-tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 836e607..a0f15cf 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -94,7 +94,7 @@ jobs: "${{ steps.iso.outputs.base }}" \ ${RUNNER_TEMP}/answer.toml \ ${SCRIPTS_DIR}/first-boot.sh \ - "${RUNNER_TEMP}/${{ steps.iso.outputs.filename }}" + "${{ runner.temp }}/${{ steps.iso.outputs.filename }}" - name: Terraform init if: inputs.skip_provision != true @@ -111,7 +111,7 @@ jobs: TF_VAR_proxmox_endpoint: ${{ secrets.PVE_ENDPOINT }} TF_VAR_proxmox_api_token: ${{ secrets.PVE_API_TOKEN }} TF_VAR_target_node: ${{ secrets.PVE_TARGET_NODE }} - TF_VAR_iso_local_path: ${RUNNER_TEMP}/${{ steps.iso.outputs.filename }} + TF_VAR_iso_local_path: ${{ runner.temp }}/${{ steps.iso.outputs.filename }} TF_VAR_test_vm_password: ${{ env.PVE_PASSWORD }} run: | terraform apply -auto-approve -input=false @@ -200,7 +200,7 @@ jobs: PVETEST_APITOKEN: ${{ steps.target.outputs.token }} PVETEST_NODE: ${{ steps.target.outputs.node }} PVETEST_STORAGE: ${{ steps.target.outputs.storage }} - PVETEST_ISO_PATH: ${RUNNER_TEMP}/pvetest.iso + PVETEST_ISO_PATH: ${{ runner.temp }}/pvetest.iso run: | Import-Module Pester -MinimumVersion 5.0 $config = New-PesterConfiguration @@ -229,7 +229,7 @@ jobs: TF_VAR_proxmox_endpoint: ${{ secrets.PVE_ENDPOINT }} TF_VAR_proxmox_api_token: ${{ secrets.PVE_API_TOKEN }} TF_VAR_target_node: ${{ secrets.PVE_TARGET_NODE }} - TF_VAR_iso_local_path: ${RUNNER_TEMP}/${{ steps.iso.outputs.filename }} + TF_VAR_iso_local_path: ${{ runner.temp }}/${{ steps.iso.outputs.filename }} TF_VAR_test_vm_password: ${{ env.PVE_PASSWORD }} run: | terraform init -input=false