Skip to content

Commit

Permalink
fix: Run reinstall pods to update
Browse files Browse the repository at this point in the history
  • Loading branch information
reasje committed Nov 13, 2024
1 parent 6566b09 commit ac4f118
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,36 @@ jobs:
with:
submodules: 'recursive'

- name: Check flutter found
id: check_flutter
shell: bash
run: |
if flutter --version; then
echo "installed=true" >> "$GITHUB_OUTPUT"
else
echo "installed=false" >> "$GITHUB_OUTPUT"
fi
- name: Setup flutter
if: steps.check_flutter.outputs.installed == 'false'
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: '3.7.12'
cache: true

# Step to clear CocoaPods cache and reinstall pods
- name: Reinstall CocoaPods
run: |
flutter pub get
cd ios
echo "Current Directory:"
pwd
echo "Contents of Current Directory:"
ls -la
pod install --repo-update
echo "Contents of Current Directory:"
ls -la
- name: Set Version Code
run: |
Expand Down

0 comments on commit ac4f118

Please sign in to comment.