Skip to content

Commit 36da96c

Browse files
committed
fix windows issue
1 parent deb8105 commit 36da96c

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/release-cli-binary.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,15 @@ jobs:
5555
run: npm run build
5656

5757
- name: Package binaries
58-
run: npm run package
58+
run: |
59+
if [ "${{ matrix.os }}" == "windows-latest" ]; then
60+
npm run package:clean && npm run package:config && npm run package:blob && npm run package:win
61+
elif [ "${{ matrix.os }}" == "ubuntu-latest" ]; then
62+
npm run package:clean && npm run package:config && npm run package:blob && npm run package:linux
63+
elif [ "${{ matrix.os }}" == "macos-latest" ]; then
64+
npm run package:clean && npm run package:config && npm run package:blob && npm run package:mac
65+
fi
66+
shell: bash
5967

6068
- name: Upload Binary
6169
uses: actions/upload-release-asset@v1

0 commit comments

Comments
 (0)