Skip to content

Commit

Permalink
Add outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
KatherineInCode committed Aug 12, 2024
1 parent c5073b3 commit e45432e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit e45432e

Please sign in to comment.