Files
alfred-tmux-cheat-sheet/.github/workflows/build.yml
Felix Förtsch 9a4989bcd2
Some checks failed
Build Workflow / build (push) Failing after 6s
add github actions ci workflow
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 14:27:23 +01:00

31 lines
795 B
YAML

name: Build Workflow
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests
run: bash tests/test_tmux_search.sh
- name: Build .alfredworkflow
run: bash build/build_workflow.sh
- name: Extract version
id: version
run: |
VERSION=$(grep -A1 '<key>version</key>' info.plist | grep '<string>' | sed 's/.*<string>//;s/<\/string>.*//')
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
- name: Create release
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ steps.version.outputs.version }}
name: v${{ steps.version.outputs.version }}
files: dist/alfred-tmux-cheat-sheet.alfredworkflow