Skip to content

Commit 1a514bc

Browse files
committed
Troubleshoot artifact
1 parent 781848c commit 1a514bc

File tree

3 files changed

+24
-14
lines changed

3 files changed

+24
-14
lines changed

.github/workflows/_build-any.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ jobs:
184184
run: |
185185
mkdir -p $_EXPORT_PATH
186186
mkdir -p $_EXPORT_PATH/dSYMs
187+
187188
bundle exec fastlane post_build \
188189
--env $_BW_ENV \
189190
build_mode:$_BUILD_MODE \

.github/workflows/ci-bwpm.yml

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,19 @@ on:
4444
type: string
4545

4646
jobs:
47-
# version:
48-
# name: Calculate Version Name and Number
49-
# uses: bitwarden/ios/.github/workflows/_version.yml@monorepo/new-build #TODO: change to main
50-
# with:
51-
# base_version_number: 2000
52-
# version_name: ${{ inputs.version-name }}
53-
# version_number: ${{ inputs.version-number }}
54-
# patch_version: ${{ inputs.patch_version }}
55-
# secrets: inherit
47+
version:
48+
name: Calculate Version Name and Number
49+
uses: bitwarden/ios/.github/workflows/_version.yml@monorepo/new-build #TODO: change to main
50+
with:
51+
base_version_number: 2000
52+
version_name: ${{ inputs.version-name }}
53+
version_number: ${{ inputs.version-number }}
54+
patch_version: ${{ inputs.patch_version }}
55+
secrets: inherit
5656

5757
build-manual:
5858
name: Build Manual - ${{ inputs.build-variant }} (${{ inputs.build-mode }})
59-
#needs: version
59+
needs: version
6060
if: ${{ github.event_name == 'workflow_dispatch' }}
6161
uses: bitwarden/ios/.github/workflows/_build-any.yml@monorepo/new-build #TODO: change to main
6262
with:
@@ -68,15 +68,24 @@ jobs:
6868

6969
build-public:
7070
name: Build CI
71-
#needs: version
72-
if: ${{ github.event_name == 'push' }}
71+
needs: version
72+
# if: ${{ github.event_name == 'push' }}
7373
uses: bitwarden/ios/.github/workflows/_build-any.yml@monorepo/new-build #TODO: change to main
7474
strategy:
7575
matrix:
76-
bw-env: [bwpm_prod, bwpm_beta]
76+
include:
77+
- bw-env: bwpm_prod
78+
build-mode: Device
79+
- bw-env: bwpm_prod
80+
build-mode: Simulator
81+
- bw-env: bwpm_beta
82+
build-mode: Device
83+
compiler-flags: DEBUG_MENU
7784
with:
7885
bw-env: ${{ matrix.bw-env }}
86+
build-mode: ${{ matrix.build-mode }}
7987
version-name: ${{ needs.version.outputs.version_name }}
8088
version-number: ${{ needs.version.outputs.version_number }}
89+
compiler-flags: ${{ matrix.compiler-flags }}
8190
distribute: ${{ inputs.distribute }}
8291
secrets: inherit

fastlane/Fastfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ platform :ios do |options|
368368
when 'simulator'
369369
sh("cp -r #{build_app_path} #{export_path}")
370370
when 'device'
371-
sh("cp #{build_ipa_path} #{export_path}")
371+
sh("cp -v #{build_ipa_path} #{export_path}")
372372
sh("cp -rv #{build_dsyms_path}/*dSYM #{export_path}/dSYMs")
373373
else
374374
UI.user_error!("Invalid build mode: #{build_mode}")

0 commit comments

Comments
 (0)