Skip to content

Commit

Permalink
chore: build xcframework before spm cache
Browse files Browse the repository at this point in the history
  • Loading branch information
RyuNen344 committed Aug 21, 2023
1 parent 8142641 commit 57f58a5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/actions/spm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ runs:
with:
files: "app-ios/build/DerivedData/SourcePackages"

- if: steps.spm-cache.outputs.files_exists != 'true'
working-directory: app-ios
shell: bash
run: bundle exec fastlane shared

- if: steps.spm-cache.outputs.files_exists != 'true'
working-directory: app-ios
shell: bash
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/iOSBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,10 @@ jobs:

- uses: ./.github/actions/setup-java

- uses: ./.github/actions/spm

- name: Set up XCFramework arch filter
run: echo "arch=x86_64" >> local.properties

- name: Build App
- uses: ./.github/actions/spm

- run: bundle exec fastlane build_project
working-directory: app-ios
run: bundle exec fastlane build_project

0 comments on commit 57f58a5

Please sign in to comment.