-
Notifications
You must be signed in to change notification settings - Fork 18
41 lines (31 loc) · 869 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install bats
run: brew install bats-core
- name: Test
run: bats --tap tests
build:
runs-on: ubuntu-latest
needs: [test]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build Alfred Workflow
uses: mperezi/build-alfred-workflow@v1
id: alfred_builder
with:
workflow_dir: "."
exclude_patterns: ".git/* .github/* .gitignore"
- name: Rename
run: mv ${{ steps.alfred_builder.outputs.workflow_file }} Network.alfredworkflow
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: Network.alfredworkflow
path: Network.alfredworkflow