Skip to content

Commit 708c0d3

Browse files
committed
fix: resolve Windows build failure in release pipeline
- Remove multi-line command syntax that breaks in PowerShell - Use single-line pkg command for cross-platform compatibility
1 parent 9295dcb commit 708c0d3

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,7 @@ jobs:
113113
run: npm install -g pkg
114114

115115
- name: Create binary
116-
run: |
117-
pkg dist/index.js \
118-
--targets node18-${{ matrix.platform }}-${{ matrix.arch }} \
119-
--output gh-manager-cli-${{ matrix.platform }}-${{ matrix.arch }}${{ matrix.ext }}
116+
run: pkg dist/index.js --targets node18-${{ matrix.platform }}-${{ matrix.arch }} --output gh-manager-cli-${{ matrix.platform }}-${{ matrix.arch }}${{ matrix.ext }}
120117

121118
- name: Upload build artifacts
122119
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)