From 49604ed2efb407f4d0158085a153b4cbc1eef0fd Mon Sep 17 00:00:00 2001 From: Jared Goodwin Date: Sat, 8 May 2021 11:08:29 -0700 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 37bbbc23..fcf5bdf1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,6 +66,8 @@ jobs: - name: Publish macOS x64 Agent shell: pwsh + env: + CurrentVersion: ${{ env.CurrentVersion }} run: | Write-Host "Publishing agent with version $env:CurrentVersion" dotnet publish /p:Version=$env:CurrentVersion /p:FileVersion=$env:CurrentVersion --runtime osx-x64 --configuration Release --output "./Agent/bin/publish/" "./Agent/"