fix ios and recreate examples

This commit is contained in:
2026-01-14 22:25:55 -08:00
parent dad9b1207e
commit 2e5f0f1ae1
68 changed files with 1199 additions and 595 deletions
+41
View File
@@ -0,0 +1,41 @@
name: Update README
on:
push:
branches:
- main
paths:
- 'packages/**'
- '.gitmodules'
- 'scripts/update_readme.dart'
workflow_dispatch:
permissions:
contents: write
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Setup Dart
uses: dart-lang/setup-dart@v1
- name: Run update script
run: dart scripts/update_readme.dart
- name: Commit and Push
run: |
if [ -n "$(git status --porcelain README.md)" ]; then
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add README.md
git commit -m "docs: update README [skip ci]"
git push
else
echo "No changes to README.md"
fi
+45
View File
@@ -0,0 +1,45 @@
name: Update Submodules
on:
schedule:
- cron: '0 0 * * *' # Runs daily at midnight
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
update-submodules:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Update submodules
run: |
git submodule update --remote --recursive
- name: Check for changes
id: diff
run: |
if [ -n "$(git status --porcelain)" ]; then
echo "changes=true" >> $GITHUB_OUTPUT
else
echo "changes=false" >> $GITHUB_OUTPUT
fi
- name: Create Pull Request
if: steps.diff.outputs.changes == 'true'
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: update submodules"
title: "chore: update submodules"
body: "Automated update of submodules to their latest commits."
branch: update-submodules
base: main
delete-branch: true