From 5f841f8bae0fbce8250a6f4e0df2797771010b4d Mon Sep 17 00:00:00 2001 From: Jared Goodwin Date: Fri, 7 May 2021 19:41:27 -0700 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 97949c81..1460edc9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,12 +58,12 @@ jobs: echo "CurrentVersion=$CurrentVersion" >> $GITHUB_ENV Write-Host "Setting current version to $CurrentVersion." - - - name: Set current version - shell: powershell - 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 + + - name: Set current version + shell: powershell + 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 - name: Upload build artifact uses: actions/upload-artifact@v2