Support for aarch64

This commit is contained in:
2025-12-24 16:38:33 -04:00
parent 6af7e257f1
commit ead1ff7034
6 changed files with 143 additions and 79 deletions
+8 -7
View File
@@ -5,6 +5,10 @@ on:
- cron: '0 12 * * *' # Run daily at 12:00 UTC
workflow_dispatch: # Allow manual triggering
concurrency:
group: update-cursor
cancel-in-progress: true
jobs:
update-cursor:
runs-on: ubuntu-latest
@@ -30,19 +34,16 @@ jobs:
# Run the update script (it will auto-confirm in CI mode)
./update-cursor.sh
# Capture version info from script output
if [[ -f "$GITHUB_OUTPUT" ]]; then
grep "CURSOR_VERSION_INFO=" "$GITHUB_OUTPUT" || echo "CURSOR_VERSION_INFO=no_update" >> "$GITHUB_OUTPUT"
fi
- name: Update flake lock file
if: steps.update-cursor.outputs.CURSOR_VERSION_INFO != 'no_update'
run: |
nix flake update
- name: Test the updated flake
if: steps.update-cursor.outputs.CURSOR_VERSION_INFO != 'no_update'
run: |
nix flake check
nix flake check --no-build
nix build .#cursor --dry-run
- name: Commit and push changes
@@ -75,7 +76,7 @@ jobs:
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add flake.nix flake.lock
git add flake.nix flake.lock cursor-release.nix
git commit -m "$COMMIT_MSG"
git push