Skip to content

Commit a9ceee7

Browse files
committed
ci-bwpm - Use outputs from _version
1 parent aea6f3d commit a9ceee7

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/ci-bwpm.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,24 +55,27 @@ jobs:
5555

5656
build-manual:
5757
name: Build Manual
58+
needs: version
5859
if: ${{ github.event_name == 'workflow_dispatch' }}
5960
uses: bitwarden/ios/.github/workflows/_build-any.yml@monorepo/new-build #TODO: change to main
6061
with:
6162
environment: ${{ (inputs.build-variant == 'Production') && 'bwpm_prod' || 'bwpm_beta' }}
62-
version-name: ${{ inputs.version-name }}
63-
version-number: ${{ inputs.version-number }}
63+
version-name: ${{ needs.version.outputs.version_name }}
64+
version-number: ${{ needs.version.outputs.version_number }} #TODO: refactor all inputs to be consistent with - or _
6465
distribute: ${{ inputs.distribute }}
66+
secrets: inherit
6567

6668
build-public:
6769
name: Build CI
70+
needs: version
6871
if: ${{ github.event_name == 'push' }}
6972
uses: bitwarden/ios/.github/workflows/_build-any.yml@monorepo/new-build #TODO: change to main
7073
strategy:
7174
matrix:
7275
env: [bwpm_prod, bwpm_beta]
7376
with:
7477
environment: ${{ matrix.env }}
75-
version-name: "2025.3.0"
76-
version-number: "${{ github.run_number }}"
78+
version-name: ${{ needs.version.outputs.version_name }}
79+
version-number: ${{ needs.version.outputs.version_number }}
7780
distribute: ${{ inputs.distribute }}
7881
secrets: inherit

0 commit comments

Comments
 (0)