Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 30 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,45 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Install Composer dependencies
uses: php-actions/composer@v6
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@stable

# Store version number without `v`
- name: Write release version
run: |
TAG=${{ github.ref_name }}
echo "VERSION=${TAG#v}" >> $GITHUB_ENV

- name: Build Alfred workflow
id: alfred_builder
uses: com30n/build-alfred-workflow@v1
with:
workflow_dir: .
exclude_patterns: ".git/* .gitignore .github/* docker_tag Dockerfile-php-build DOCKER_ENV output.log resources/*"
custom_version: "${{ env.VERSION }}"
run: make package-universal

- name: Create release
id: create_release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
token: ${{ secrets.RELEASE_TOKEN }}
files: ${{ steps.alfred_builder.outputs.workflow_file }}
token: ${{ secrets.GITHUB_TOKEN }}
files: quick-open-project.alfredworkflow
tag_name: ${{ github.ref_name }}
name: Release ${{ github.ref_name }}
body: |
## Quick Open Project Alfred Workflow ${{ github.ref_name }}

Download the `.alfredworkflow` file below and double-click to install.

This release includes:
- Rust-based implementation for optimal performance
- ARM64 and x86_64 macOS compatibility
- Fuzzy search functionality

### Installation
1. Download `quick-open-project.alfredworkflow`
2. Double-click the file to install in Alfred
3. Configure your `SEARCH_PATHS` environment variable in Alfred's workflow settings

### Usage
Use the `src` keyword in Alfred to search your project directories.
20 changes: 19 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# IDE files
.idea
.vscode/

# macOS files
.DS_Store
vendor/

# Rust build artifacts
target/

# Build outputs
search
*.alfredworkflow
info.plist.tmp
update_plist.py
fix_workflow_zip.py

# Debug and temporary files
*.log
.env
.env.local
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- Rewrote in Rust.

## [0.0.5] - 2025-04-04

### Fixed
Expand Down
Loading