We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e8229c commit f55ca10Copy full SHA for f55ca10
.github/workflows/build-cli-binaries.yml
@@ -78,10 +78,19 @@ jobs:
78
fi
79
80
- name: Compile CLI binary
81
+ shell: bash
82
run: |
83
cd genkit-tools/cli
84
pnpm compile:bun
- mv dist/bin/genkit dist/bin/genkit-${{ matrix.target }}${{ steps.binary.outputs.ext }}
85
+
86
+ # Handle the binary name based on OS
87
+ if [[ "${{ matrix.os }}" == windows-* ]]; then
88
+ # On Windows, Bun outputs genkit.exe
89
+ mv dist/bin/genkit.exe "dist/bin/genkit-${{ matrix.target }}.exe"
90
+ else
91
+ # On Unix-like systems, no extension
92
+ mv dist/bin/genkit "dist/bin/genkit-${{ matrix.target }}"
93
+ fi
94
95
- name: Upload binary artifact
96
uses: actions/upload-artifact@v4
0 commit comments