-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (49 loc) · 1.45 KB
/
build.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
42
43
44
45
46
47
48
49
50
name: "Build Keyboards"
on:
push:
paths:
- ‘!docs/**’
repository_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- type: keyboard-windows
os: windows-latest
- type: keyboard-macos
os: macos-latest
steps:
- uses: actions/checkout@v2
- name: Setup Divvun CI
uses: divvun/actions/setup@master
with:
key: ${{ secrets.DIVVUN_KEY }}
- name: Pahkat dependencies (macOS)
if: matrix.type == 'keyboard-macos'
uses: divvun/actions/pahkat/init@master
with:
repo: https://pahkat.uit.no/devtools/
channel: nightly
packages: kbdgen, pahkat-uploader, xcnotary
- name: Pahkat dependencies (Windows)
if: matrix.type == 'keyboard-windows'
uses: divvun/actions/pahkat/init@master
with:
repo: https://pahkat.uit.no/devtools/
channel: nightly
packages: kbdgen, pahkat-uploader
- name: Run kbdgen
id: build
uses: divvun/actions/keyboard/build@master
with:
keyboard-type: ${{ matrix.type }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy
uses: divvun/actions/keyboard/deploy@master
with:
payload-path: "${{ steps.build.outputs['payload-path'] }}"
keyboard-type: ${{ matrix.type }}
channel: nightly