Skip to content

Commit

Permalink
don't recurse into the publish directory
Browse files Browse the repository at this point in the history
  • Loading branch information
radj307 committed Sep 22, 2023
1 parent 1bf6d87 commit 1647d34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/GenerateRelease-csharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: dotnet publish VolumeControl -c ${{env.BUILD_TYPE}} /p:PublishProfile="VolumeControl/Properties/PublishProfiles/FolderProfile.pubxml"

- name: Stage Binary
run: foreach($file in $((dir "publish" -recurse | where {$_.extension -in ".exe"}).Fullname)){ mv "$file" "STAGING" }
run: foreach($file in $((dir "publish" | where {$_.extension -in ".exe"}).Fullname)){ mv "$file" "STAGING" }

- name: Prepare Installer Prerequisites
id: InitInstaller
Expand All @@ -59,7 +59,7 @@ jobs:
options: /dAppVersion="${{ steps.InitInstaller.outputs.AppVersion }}" /Opublish

- name: Stage Installer
run: foreach($file in $((dir "publish" -recurse | where {$_.extension -in ".exe"}).Fullname)){ mv "$file" "STAGING" }
run: foreach($file in $((dir "publish" | where {$_.extension -in ".exe"}).Fullname)){ mv "$file" "STAGING" }

- name: Upload Executable Artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 1647d34

Please sign in to comment.