Files
alfred-tmux-cheat-sheet/.gitea/workflows/build.yml
Felix Förtsch f7b358495e
All checks were successful
Build Workflow / build (push) Successful in 5s
rename artifact to tmux-cheat-sheet.alfredworkflow, streamline readme
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 14:09:42 +01:00

31 lines
788 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/tmux-cheat-sheet.alfredworkflow