Skip to content

Commit 14e8bb9

Browse files
committed
Fix workflow file
1 parent 57c288d commit 14e8bb9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/container_images.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ jobs:
1818
build-toolchain:
1919
name: Build LLVM7 base (${{ matrix.variance.name }} / ${{ matrix.platform.arch }})
2020
runs-on: ${{ matrix.platform.runner }}
21-
env:
22-
TOOLCHAIN_TAR_DIR: ${{ runner.tool_cache }}/llvm7-tars
2321
permissions:
2422
contents: read
2523
packages: write
@@ -78,6 +76,11 @@ jobs:
7876
echo "TMPDIR=${RUNNER_TEMP}/buildkit-tmp" >> "$GITHUB_ENV"
7977
echo "BUILDKIT_TMPDIR=${RUNNER_TEMP}/buildkit-tmp" >> "$GITHUB_ENV"
8078
echo "BUILDKIT_SANDBOX_TMPDIR=${RUNNER_TEMP}/buildkit-tmp" >> "$GITHUB_ENV"
79+
- name: Prepare tar output directory
80+
run: |
81+
TAR_DIR="$RUNNER_TOOL_CACHE/llvm7-tars"
82+
mkdir -p "$TAR_DIR"
83+
echo "TOOLCHAIN_TAR_DIR=$TAR_DIR" >> "$GITHUB_ENV"
8184
- name: Prepare tar output directory
8285
run: mkdir -p "$TOOLCHAIN_TAR_DIR"
8386
- name: Build and push toolchain

0 commit comments

Comments
 (0)