diff --git a/.github/workflows/build-centos7.yaml b/.github/workflows/build-centos7.yaml index b723d6c3a13..cd135c4b17c 100644 --- a/.github/workflows/build-centos7.yaml +++ b/.github/workflows/build-centos7.yaml @@ -11,6 +11,7 @@ jobs: container: image: centos:7 volumes: + - /opt:/opt - /usr/share/dotnet:/host/usr/share/dotnet - /usr/local/lib/android:/host/usr/local/lib/android @@ -76,9 +77,9 @@ jobs: - name: Create tarball # WARNING each xz thread consumes nearly 1 GB of memory - run: XZOPT=-T0 tar -cJvf rv-gnu-toolchain-centos7.txz -C /opt/ riscv/ + run: XZOPT=-T0 tar -cJvf /opt/rv-gnu-toolchain-centos7.txz -C /opt/ riscv/ - uses: actions/upload-artifact@v3 with: name: toolchain-for-centos7 - path: rv-gnu-toolchain-centos7.txz + path: /opt/rv-gnu-toolchain-centos7.txz