Browse Source

Update WinX64.yml

Ruben 1 year ago
parent
commit
b2531b8270
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/WinX64.yml

+ 2 - 2
.github/workflows/WinX64.yml

@@ -33,10 +33,10 @@ jobs:
       # Step 4: Define paths
       - name: Define paths
         id: paths
+        shell: pwsh
         run: |
-          $outputDir = "PicView-v.${{steps.get-version.outputs.file-version}}-win-x64"
+          $outputDir = (Resolve-Path "PicView-v.${{steps.get-version.outputs.file-version}}-win-x64").Path
           echo "##[set-output name=output_dir;]$outputDir"
-        shell: pwsh
 
       # Step 5: Run dotnet publish
       - name: Publish the project