Skip to content

Commit 7b92aef

Browse files
committed
different share path
1 parent fecb496 commit 7b92aef

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Ensure local bare clone of base Linux repo
2727
run: |
2828
set -eux
29-
BASE_REPO_DIR="/home/runner/_shared/linux"
29+
BASE_REPO_DIR="/_shared/linux"
3030
BASE_REPO_URL="https://github.com/rehosting/linux"
3131
3232
@@ -41,7 +41,7 @@ jobs:
4141
4242
- name: Ensure linux cache exists
4343
run: |
44-
BASE_CACHE_DIR="/home/runner/_shared/linux_builder/cache"
44+
BASE_CACHE_DIR="/_shared/linux_builder/cache"
4545
4646
if [ ! -d "$BASE_CACHE_DIR" ]; then
4747
mkdir -p "$BASE_CACHE_DIR"
@@ -55,7 +55,7 @@ jobs:
5555
run: |
5656
set -eux
5757
58-
SOURCES_DIR="/home/runner/_shared/linux_sources/"
58+
SOURCES_DIR="/_shared/linux_sources/"
5959
echo "Using stable source directory: $SOURCES_DIR"
6060
echo "sources_dir=$SOURCES_DIR" >> $GITHUB_OUTPUT
6161
@@ -67,7 +67,7 @@ jobs:
6767
# Change into the stable directory to perform all subsequent git operations
6868
cd "$SOURCES_DIR"
6969
70-
BASE_REPO_DIR="/home/runner/_shared/linux"
70+
BASE_REPO_DIR="/_shared/linux"
7171
sed -i "s|url = https://github.com/rehosting/linux.git|url = file://$BASE_REPO_DIR|g" .gitmodules
7272
7373
# Sync and update submodules from within the stable repository
@@ -168,7 +168,7 @@ jobs:
168168
set -eux
169169
TARGET="${{ matrix.target_version }}"
170170
VERSIONS_JSON='${{ needs.prebuild.outputs.versions }}'
171-
# BASE_CACHE_DIR="/home/runner/_shared/linux_builder/cache"
171+
# BASE_CACHE_DIR="/_shared/linux_builder/cache"
172172
# Use the output from the prebuild job
173173
SOURCES_DIR="${{ needs.prebuild.outputs.sources_dir }}/linux"
174174
@@ -179,7 +179,7 @@ jobs:
179179
fi
180180
181181
# Use a run-specific output directory to avoid clashes
182-
BUILD_OUTPUT="/home/runner/_shared/runs/$GITHUB_RUN_ID/build-output"
182+
BUILD_OUTPUT="/_shared/runs/$GITHUB_RUN_ID/build-output"
183183
mkdir -p $BUILD_OUTPUT
184184
sudo chown runner:runner -R $BUILD_OUTPUT
185185
ls -l "$BUILD_OUTPUT"
@@ -212,7 +212,7 @@ jobs:
212212
- name: Combine all kernels into a single archive
213213
run: |
214214
set -eux
215-
RUNS_PARENT="/home/runner/_shared/runs"
215+
RUNS_PARENT="/_shared/runs"
216216
RUNS_DIR="$RUNS_PARENT/$GITHUB_RUN_ID"
217217
BUILD_OUTPUT="$RUNS_DIR/build-output"
218218
@@ -250,7 +250,7 @@ jobs:
250250
- name: Aggregate all kernel-devel artifacts
251251
run: |
252252
set -eux
253-
RUNS_PARENT="/home/runner/_shared/runs"
253+
RUNS_PARENT="/_shared/runs"
254254
RUNS_DIR="$RUNS_PARENT/$GITHUB_RUN_ID"
255255
BUILD_OUTPUT="$RUNS_DIR/build-output"
256256
@@ -274,7 +274,7 @@ jobs:
274274
- name: Cleanup per-run kernel clones
275275
if: always()
276276
run: |
277-
RUNS_PARENT="/home/runner/_shared/runs"
277+
RUNS_PARENT="/_shared/runs"
278278
RUNS_DIR="$RUNS_PARENT/$GITHUB_RUN_ID"
279279
echo "Cleaning up kernel clones in $RUNS_DIR"
280280
rm -rf "$RUNS_DIR"

0 commit comments

Comments
 (0)