Browse Source

Update GitHub test sign action

Ruben 11 months ago
parent
commit
0af55ea4f3
1 changed files with 4 additions and 4 deletions
  1. 4 4
      .github/workflows/TestSignWindows.yaml

+ 4 - 4
.github/workflows/TestSignWindows.yaml

@@ -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