Skip to content

Commit

Permalink
Update inputs and env var name
Browse files Browse the repository at this point in the history
  • Loading branch information
vvolkgang committed Oct 3, 2024
1 parent 9421d0c commit e87873d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/CI-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
env:
XCODE_VERSION: '15.4'
DISTRIBUTE_TO_TESTFLIGHT: ${{ github.event_name == 'push' || inputs.distribute }}
INTERNAL_PATCH_NUMBER: 999
INTERNAL_BETA_PATCH_NUMBER: 999

jobs:
resolve-values:
Expand Down Expand Up @@ -105,16 +105,17 @@ jobs:
id: fix-patch-version
run: |
version_name=${{ needs.resolve-values.outputs.build_version }}
internal_version_name="${version_name%.*}.${{ env.INTERNAL_PATCH_NUMBER }}"
internal_version_name="${version_name%.*}.${{ env.INTERNAL_BETA_PATCH_NUMBER }}"
echo "version_name=$internal_version_name" >> $GITHUB_OUTPUT
echo "::warning::Internal version name: $internal_version_name"
- name: Build
uses: bitwarden/ios/.github/workflows/build.yml@main
with:
build-variant: Beta
build-version: ${{ steps.fix-patch-version.outputs.version_name }}
build-number: ${{ needs.resolve-values.outputs.build_number }}
xcode-version: ${{ env.XCODE_VERSION }}
build-number: ${{ needs.resolve-values.outputs.version_number }}
xcode-version: ${{ needs.resolve-values.outputs.xcode_version }}
distribute: ${{ fromJSON(needs.resolve-values.outputs.distribute_to_testflight) }}
upload_version_info: false
compiler-flags: "DEBUG_MENU"
secrets: inherit

0 comments on commit e87873d

Please sign in to comment.