diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a779ed0..9f5d77b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -31,14 +31,27 @@ jobs: # step 2: build project - name: build x86_64 bins run: make all - - name: build aarch64 bins - run: ARCH=aarch64 make all - - name: build armv7 bins - run: CC=arm-linux-gnueabihf-gcc ARCH=armv7 make all - - # step 3: upload - - name: Upload build files + + - name: Upload x86_64 bins uses: actions/upload-artifact@v4 with: - name: upload binaries + name: x86_64 + path: build/ + + - name: build aarch64 bins + run: ARCH=aarch64 make all + + - name: Upload aarch64 bins + uses: actions/upload-artifact@v4 + with: + name: aarch64 + path: build/ + + - name: build armv7 bins + run: CC=arm-linux-gnueabihf-gcc ARCH=armv7 make all + + - name: Upload armv7 bins + uses: actions/upload-artifact@v4 + with: + name: armv7 path: build/