mirror of
https://github.com/denisidoro/navi.git
synced 2026-01-23 02:14:19 +00:00
Add support for Alfred (#347)
This commit is contained in:
parent
019adf82cf
commit
c7f919eaa0
19 changed files with 850 additions and 54 deletions
23
.github/workflows/cd.yml
vendored
23
.github/workflows/cd.yml
vendored
|
|
@ -6,8 +6,27 @@ on:
|
|||
- '*'
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
name: Publish for ${{ matrix.os }}
|
||||
|
||||
alfred:
|
||||
name: Publish Alfred workflow
|
||||
os: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Zip
|
||||
run: scripts/action workflow
|
||||
- name: Get the version
|
||||
id: get_version
|
||||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
|
||||
- name: Upload workflow to release
|
||||
uses: svenstaro/upload-release-action@v1-release
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: target/workflow/navi.zip
|
||||
tag: ${{ github.ref }}
|
||||
asset_name: navi-${{ steps.get_version.outputs.VERSION }}.alfredworkflow
|
||||
|
||||
binary:
|
||||
name: Publish binary for ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue