Skip to content

Merge pull request #27 from wravery/dev #2

Merge pull request #27 from wravery/dev

Merge pull request #27 from wravery/dev #2

Workflow file for this run

name: Update bindings for macOS
on:
push:
branches:
- dev
paths:
- Cargo.lock
jobs:
update-bindings:
runs-on: macos-latest
steps:
- uses: actions/[email protected]
- name: Update Bindings
run: |
cargo run -p update-bindings -- -b -d aarch64-apple-darwin
cargo run -p update-bindings -- -b -d x86_64-apple-darwin
- name: Push Changes
shell: bash {0}
run: |
git config user.name "tauri"
git config user.email "[email protected]"
git add .
git commit -m 'chore: update macos bindings'
if [ $? -eq 0 ]; then
git switch -c update-macos
git push --force -u origin update-macos
else
echo "::debug::No changes to commit."
fi