From b48e3b4606bd06bbaf7159ec6073f4082f782f56 Mon Sep 17 00:00:00 2001 From: Jared Goodwin Date: Sat, 8 May 2021 10:41:05 -0700 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 32dc0475..5f091504 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -65,7 +65,9 @@ jobs: shell: pwsh run: | dotnet publish /p:Version=$env:CurrentVersion /p:FileVersion=$env:CurrentVersion --runtime osx-x64 --configuration Release --output "./Agent/bin/publish" ".\Agent" - Compress-Archive -Path "./Agent/bin/publish/*" -DestinationPath "./Agent/bin/Remotely-MacOS-x64.zip" -Force + Get-ChildItem -Path "./Agent/bin/publish/" | ForEach-Object { + Compress-Archive -Path $_.FullName -DestinationPath "./Agent/bin/Remotely-MacOS-x64.zip" -Update + } - name: Upload build artifact uses: actions/upload-artifact@v2