From a42bbbcf36355d84c8f50ac1b95c6f13dcf9364a Mon Sep 17 00:00:00 2001 From: Joscha <34318751+josxha@users.noreply.github.com> Date: Thu, 25 Apr 2024 12:48:34 +0200 Subject: [PATCH 1/3] loosen dependency constraint of package_info_plus latest version of package_info_plus is 9.0.0 --- wakelock_plus/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wakelock_plus/pubspec.yaml b/wakelock_plus/pubspec.yaml index 782a796..d39a564 100644 --- a/wakelock_plus/pubspec.yaml +++ b/wakelock_plus/pubspec.yaml @@ -23,7 +23,7 @@ dependencies: # Linux dependencies dbus: ^0.7.10 - package_info_plus: ">=6.0.0 <8.0.0" + package_info_plus: ">=6.0.0 <9.0.0" # Web dependencies web: ^0.5.1 From 64eaf1f6ad97e6be1b714ae9ce8811c6fd1f1191 Mon Sep 17 00:00:00 2001 From: Joscha <34318751+josxha@users.noreply.github.com> Date: Mon, 29 Apr 2024 18:29:33 +0200 Subject: [PATCH 2/3] Create update-ios-pods.yml --- .github/workflows/update-ios-pods.yml | 36 +++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/update-ios-pods.yml diff --git a/.github/workflows/update-ios-pods.yml b/.github/workflows/update-ios-pods.yml new file mode 100644 index 0000000..c5399ff --- /dev/null +++ b/.github/workflows/update-ios-pods.yml @@ -0,0 +1,36 @@ +name: Update iOS CocoaPods +on: + workflow_dispatch: +jobs: + update-pods: + runs-on: macos-latest + name: pod update + steps: + - name: Checkout project + uses: actions/checkout@v4 + - name: Setup Flutter + uses: subosito/flutter-action@v2 + with: + flutter-version: '3.x' + - name: Get Flutter dependencies + working-directory: wakelock_plus/example/ios + run: flutter pub get + - name: Update CocoaPods + working-directory: wakelock_plus/example/ios + run: | + pod repo update && \ + pod update + - name: Check difference + run: | + git add --all . && \ + status=$(git status -s .) && \ + echo $status && \ + echo "GIT_STATUS=${status//$'\n'/\\n}" >> $GITHUB_ENV + - name: Push changes + if: "contains(env.GIT_STATUS, 'ios')" + run: | + git add --all . && \ + git config --global user.email "action@github.com" && \ + git config --global user.name "Github CI" && \ + git commit -a -m "pod update" && \ + git push \ No newline at end of file From 39e434068680babec93a9ea2eb011f6fa4597977 Mon Sep 17 00:00:00 2001 From: Github CI Date: Mon, 29 Apr 2024 16:38:13 +0000 Subject: [PATCH 3/3] pod update --- wakelock_plus/example/ios/Podfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wakelock_plus/example/ios/Podfile.lock b/wakelock_plus/example/ios/Podfile.lock index bb8a441..d3ba8c4 100644 --- a/wakelock_plus/example/ios/Podfile.lock +++ b/wakelock_plus/example/ios/Podfile.lock @@ -31,4 +31,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: beab77b38961de946f08660e554f80ac174dc842 -COCOAPODS: 1.14.2 +COCOAPODS: 1.15.2