|
@@ -22,8 +22,8 @@ jobs:
|
|
|
- name: Publish x64 version
|
|
|
run: |
|
|
|
$projectPath = ".\src\PicView.WPF\PicView.WPF.csproj"
|
|
|
- $tempPath = [System.IO.Path]::GetTempPath() + "PicView"
|
|
|
- dotnet publish $projectPath --runtime win-x64 --self-contained true --configuration Release --output $tempPath /p:PublishReadyToRun=true
|
|
|
+ $publishPath = ${{ github.workspace }}\Build\PicView-v${{steps.get-version.outputs.version}}-win-x64
|
|
|
+ dotnet publish $projectPath --runtime win-x64 --self-contained true --configuration Release --output $publishPath /p:PublishReadyToRun=true
|
|
|
shell: pwsh
|
|
|
|
|
|
# Step 5 (x64): Compile .ISS to .EXE Installer for x64
|
|
@@ -43,8 +43,8 @@ jobs:
|
|
|
- name: Publish arm64 version
|
|
|
run: |
|
|
|
$projectPath = ".\src\PicView.WPF\PicView.WPF.csproj"
|
|
|
- $tempPath = [System.IO.Path]::GetTempPath() + "PicView"
|
|
|
- dotnet publish $projectPath --runtime win-x64 --self-contained true --configuration Release --output $tempPath /p:PublishReadyToRun=true
|
|
|
+ $publishPath = ${{ github.workspace }}\Build\PicView-v${{steps.get-version.outputs.version}}-win-arm64
|
|
|
+ dotnet publish $projectPath --runtime win-x64 --self-contained true --configuration Release --output $publishPath /p:PublishReadyToRun=true
|
|
|
shell: pwsh
|
|
|
|
|
|
|