From ff81c693c90c4c11f97d23aebc3e05bd7d8970ff Mon Sep 17 00:00:00 2001 From: Donghoon Park Date: Sun, 15 Dec 2024 04:34:51 +0000 Subject: [PATCH] change build folder upload scheme to compress it --- .github/workflows/ci.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1621702..2c61af8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,15 +16,13 @@ jobs: - name: build run: | cmake --build build --config Debug + - name: Compress Build Directory + run: tar -czf build.tar.gz build/ - name: Upload Build Artifact uses: actions/upload-artifact@v3 with: name: build - path: build/ - exclude: | - build/**/*.o - build/**/*.internal - build/**/*.txt + path: build.tar.gz - name: Compile Arduino examples run: | pushd build @@ -37,15 +35,14 @@ jobs: needs: Build # run after Build job steps: - uses: actions/checkout@v3 - - name: Download Build Directory uses: actions/download-artifact@v3 with: name: build - + - name: Extract Build Directory + run: tar -xzf build.tar.gz -C build/ - name: List Build Files - run: ls -R build - + run: ls -R . - name: test run: | cd build