add gitea actions workflow for build, test, artifact upload
Some checks failed
Build Workflow / build (push) Failing after 38s
Some checks failed
Build Workflow / build (push) Failing after 38s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
29
.gitea/workflows/build.yml
Normal file
29
.gitea/workflows/build.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
name: Build Workflow
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install tmux
|
||||
run: sudo apt-get update && sudo apt-get install -y tmux
|
||||
|
||||
- name: Generate tmux_commands.tsv
|
||||
run: bash scripts/parse_manual.sh
|
||||
|
||||
- name: Run tests
|
||||
run: bash tests/test_tmux_search.sh
|
||||
|
||||
- name: Build .alfredworkflow
|
||||
run: bash build/build_workflow.sh
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: tmux-command-search.alfredworkflow
|
||||
path: dist/tmux-command-search.alfredworkflow
|
||||
Reference in New Issue
Block a user