Skip to content

Commit ba038ca

Browse files
committed
Store complete wheels repository including git submodule in artifacts
1 parent 1ec6c2e commit ba038ca

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/build.yaml

+3-5
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ jobs:
5959
working-directory: ./connectedhomeip/
6060
run: scripts/run_in_build_env.sh "scripts/codepregen.py ./zzz_pregenerated/"
6161
- name: Create Matter SDK tar
62-
working-directory: ./connectedhomeip/
63-
run: tar -caf ../connectedhomeip.tar.zst --exclude .environment --use-compress-program=zstdmt .
62+
run: tar -caf ./connectedhomeip.tar.zst --exclude ./connectedhomeip/.environment --use-compress-program=zstdmt .
6463
- name: Store Matter SDK as artifact
6564
uses: actions/upload-artifact@v4
6665
with:
@@ -106,9 +105,8 @@ jobs:
106105
run: |
107106
apt update && apt install zstd
108107
rm -rf connectedhomeip/
109-
mkdir -p connectedhomeip/
110-
cd connectedhomeip/
111-
tar -xaf ../connectedhomeip.tar.zst --use-compress-program=zstdmt .
108+
rm -rf .git/
109+
tar -xaf ./connectedhomeip.tar.zst --use-compress-program=zstdmt .
112110
pwd
113111
ls -la
114112
git config --global --add safe.directory "*"

0 commit comments

Comments
 (0)