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/"