From e45432ec629a8729d7f713a6b16eae6640e8e4de Mon Sep 17 00:00:00 2001 From: Katherine Bertelsen Date: Mon, 12 Aug 2024 16:02:35 -0500 Subject: [PATCH] Add outputs --- .github/workflows/build.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b4942649e..3a990eb02 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,8 +35,17 @@ jobs: resolve-values: name: "Resolve values" runs-on: macos-14 + outputs: + build_version: ${{ steps.calculate.outputs.build_version }} + build_number: ${{ steps.calculate.outputs.build_number }} steps: + - name: Check out repo + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + with: + fetch-depth: 0 + filter: tree:0 + - name: Calculate build version and number id: calculate run: | @@ -89,8 +98,8 @@ jobs: uses: ./.github/workflows/_build.yml with: build-variant: ${{ vars.BUILD_VARIANT }} - build-version: ${{ needs.resolve-values.outputs.version }} - build-number: 45 + build-version: ${{ needs.resolve-values.outputs.build_version }} + build-number: ${{ needs.resolve-values.outputs.build_number }} xcode-version: ${{ vars.XCODE_VERSION }} secrets: inherit