File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -25,18 +25,18 @@ jobs:
25
25
run : dotnet build -c Release --no-restore
26
26
27
27
- name : Build Bundle
28
- shell : bash
28
+ shell : pwsh
29
29
run : |
30
30
echo "Current Directory $(pwd)"
31
31
# build the project
32
- dotnet publish ./ src/ CodeQLToolkit.Core/ CodeQLToolkit.Core.csproj /p:PublishProfile=./ src/ CodeQLToolkit.Core/ Properties/ PublishProfiles/ Windows-x64.pubxml
33
- cp ./ src/ CodeQLToolkit.Core/ bin/ Release/ net6.0/ publish/ windows-x64/ CodeQLToolkit.Core ./ src/ CodeQLToolkit.Core/ bin/ Release/ net6.0/ publish/ windows-x64/ qlt
32
+ dotnet publish .\ src\ CodeQLToolkit.Core\ CodeQLToolkit.Core.csproj /p:PublishProfile=.\ src\ CodeQLToolkit.Core\ Properties\ PublishProfiles\ Windows-x64.pubxml
33
+ Copy-Item .\ src\ CodeQLToolkit.Core\ bin\ Release\ net6.0\ publish\ windows-x64\ CodeQLToolkit.Core.exe .\ src\ CodeQLToolkit.Core\ bin\ Release\ net6.0\ publish\ windows-x64\ qlt.exe
34
34
35
35
# create bundle
36
- ARCHIVE="$(pwd )/qlt-windows-x64.zip"
37
- pushd ./ src/ CodeQLToolkit.Core/ bin/ Release/ net6.0/ publish/ windows-x64
38
- zip -r $ARCHIVE .
39
- popd
36
+ $ ARCHIVE="$(Get-Location )/qlt-windows-x64.zip"
37
+ Push-Location .\ src\ CodeQLToolkit.Core\ bin\ Release\ net6.0\ publish\ windows-x64
38
+ Compress-Archive -Path "*" -DestinationPath $ARCHIVE
39
+ Pop-Location
40
40
41
41
- name : Upload build artifacts
42
42
uses : actions/upload-artifact@v3
You can’t perform that action at this time.
0 commit comments