diff --git a/.github/workflows/ios-device-build.yml b/.github/workflows/ios-device-build.yml index f23dfdc..a211e35 100644 --- a/.github/workflows/ios-device-build.yml +++ b/.github/workflows/ios-device-build.yml @@ -29,7 +29,13 @@ jobs: run: nix develop .# --command bash -c "bun install --frozen-lockfile" - name: 🛠️ Build for device - run: nix develop .# --command bash -c "bun client ios:prebuild && bun client build:ios:signet:device" + run: | + nix develop .# --command bash -c " + bun client ios:prebuild && + (/usr/bin/git diff --exit-code -- client/ios/Podfile.lock || + (echo '❌ Podfile.lock changed after prebuild — commit the updated lockfile' && exit 1)) && + bun client build:ios:signet:device + " - name: 📦 Create IPA run: | diff --git a/.github/workflows/noah-build-release-ios.yml b/.github/workflows/noah-build-release-ios.yml index 21dfea9..19652bd 100644 --- a/.github/workflows/noah-build-release-ios.yml +++ b/.github/workflows/noah-build-release-ios.yml @@ -24,8 +24,14 @@ jobs: - name: 📦 Install dependencies run: nix develop .# --command bash -c "bun install --frozen-lockfile" - - name: 🛠️ Build - run: nix develop .# --command bash -c "bun client ios:prebuild && bun client build:ios:ci" + - name: 🛠️ Build iOS Release App + run: | + nix develop .# --command bash -c " + bun client ios:prebuild && + (/usr/bin/git diff --exit-code -- client/ios/Podfile.lock || + (echo '❌ Podfile.lock changed after prebuild — commit the updated lockfile' && exit 1)) && + bun client build:ios:ci + " - name: 📁 Prepare build output id: set_outputs