Skip to content

Commit e02a0ef

Browse files
committed
build: fix build
1 parent 9edbcf1 commit e02a0ef

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/build.yaml

+7-2
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,15 @@ jobs:
8282
run: |
8383
make compile-native-image project_dir=${{ github.workspace }} jar_path=aidbox-sdk.jar image_name=aidbox-sdk-${{ matrix.os }}
8484
chmod +x aidbox-sdk-${{ matrix.os }}
85-
zip aidbox-sdk-${{ matrix.os }}.zip aidbox-sdk-${{ matrix.os }}
85+
86+
if [[ "${{ matrix.os }}" == "macos-latest" || "${{ matrix.os }}" == "ubuntu-latest" ]]; then
87+
zip aidbox-sdk-${{ matrix.os }}.zip aidbox-sdk-${{ matrix.os }}
88+
fi
8689
8790
- name: Upload amd64 binary artifact
8891
uses: actions/upload-artifact@v4
8992
with:
9093
name: build-${{ matrix.os }}
91-
path: ./aidbox-sdk-*.zip
94+
path: |
95+
./aidbox-sdk-*.zip
96+
./aidbox-sdk-${{ matrix.os }}.exe

0 commit comments

Comments
 (0)