Skip to content

Commit 5ce919a

Browse files
committed
ci: use pwsh to make Windows packages instead of bash
Signed-off-by: leo <[email protected]>
1 parent 0acff99 commit 5ce919a

File tree

3 files changed

+4
-18
lines changed

3 files changed

+4
-18
lines changed

.github/workflows/package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
name: sourcegit.${{ matrix.runtime }}
2323
path: build/SourceGit
2424
- name: Package
25-
shell: bash
25+
shell: pwsh
2626
env:
2727
VERSION: ${{ inputs.version }}
2828
RUNTIME: ${{ matrix.runtime }}
29-
run: ./build/scripts/package.windows.sh
29+
run: ./build/scripts/package.win.ps1
3030
- name: Upload package artifact
3131
uses: actions/upload-artifact@v4
3232
with:

build/scripts/package.win.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Remove-Item -Path build\SourceGit\*.pdb -Force
2+
Compress-Archive -Path build\SourceGit -DestinationPath "build\sourcegit_${env:VERSION}.${env:RUNTIME}.zip" -Force

build/scripts/package.windows.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)