ソースを参照

Update GitHub test sign action

Ruben 11 ヶ月 前
コミット
0af55ea4f3
1 ファイル変更4 行追加4 行削除
  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