diff --git a/.github/actions/spm/action.yml b/.github/actions/spm/action.yml index 3f293956d..60b8a2899 100644 --- a/.github/actions/spm/action.yml +++ b/.github/actions/spm/action.yml @@ -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 diff --git a/.github/workflows/iOSBuild.yml b/.github/workflows/iOSBuild.yml index b4d846296..addbcf2aa 100644 --- a/.github/workflows/iOSBuild.yml +++ b/.github/workflows/iOSBuild.yml @@ -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