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.
pwsh
bash
1 parent 0acff99 commit 072502aCopy full SHA for 072502a
.github/workflows/package.yml
@@ -22,11 +22,11 @@ jobs:
22
name: sourcegit.${{ matrix.runtime }}
23
path: build/SourceGit
24
- name: Package
25
- shell: bash
+ shell: pwsh
26
env:
27
VERSION: ${{ inputs.version }}
28
RUNTIME: ${{ matrix.runtime }}
29
- run: ./build/scripts/package.windows.sh
+ run: ./build/scripts/package.win.ps1
30
- name: Upload package artifact
31
uses: actions/upload-artifact@v4
32
with:
build/scripts/package.win.ps1
@@ -0,0 +1,4 @@
1
+Get-ChildItem build\SourceGit
2
+Remove-Item -Path build\SourceGit\*.pdb -Force
3
+Compress-Archive -Path build\SourceGit -DestinationPath "sourcegit_${env:VERSION}.${env:RUNTIME}.zip" -Force
4
+Get-ChildItem
build/scripts/package.windows.sh
0 commit comments