Skip to content

Commit 3160f8f

Browse files
committed
Build prefix fix
1 parent dee5feb commit 3160f8f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release-binaries.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ jobs:
115115
shell: bash
116116
run: |
117117
build_prefix=`pwd`
118-
if [ "${{ runner.os }}" = "Linux" ]; then
119-
sudo chown $USER:$USER /mnt/
120-
build_prefix=/mnt/
121-
fi
118+
#if [ "${{ runner.os }}" = "Linux" ]; then
119+
# sudo chown $USER:$USER /mnt/
120+
# build_prefix=/mnt/
121+
#fi
122122
cmake -G Ninja -C clang/cmake/caches/Release.cmake -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -S llvm -B $build_prefix/build
123123
ninja -v -C $build_prefix/build
124124
echo "build-prefix=$build_prefix" >> $GITHUB_OUTPUT
@@ -129,7 +129,7 @@ jobs:
129129
shell: bash
130130
run: |
131131
tar -c . | zstd -T0 -c > llvm-project.tar.zst
132-
tar ${{ steps.build.outputs.build-prefix }} -c build/ | zstd -T0 -c > build.tar.zst
132+
tar -C ${{ steps.build.outputs.build-prefix }} -c build/ | zstd -T0 -c > build.tar.zst
133133
134134
- name: Upload Stage 1 Source
135135
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 #v4.3.0
@@ -265,7 +265,7 @@ jobs:
265265
- name: Build Release Package
266266
shell: bash
267267
run: |
268-
ninja -C ${{ steps.unpack.outputs.build-preifx }}/build stage2-package
268+
ninja -C ${{ steps.unpack.outputs.build-prefix }}/build stage2-package
269269
270270
- name: Timeout Save
271271
if: always()

0 commit comments

Comments
 (0)