-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (36 loc) · 1.05 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
name: build
on:
release:
types: [published]
jobs:
build-win:
name: build-and-release-win
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: build
shell: pwsh
run: Invoke-Expression "$(pwd)/win/build/ahk2exe.exe /in $(pwd)/win/main.ahk /out $(pwd)/Keyput-Methoard.exe /icon $(pwd)/win/build/icon.ico /base $(pwd)/win/build/autohotkey64.exe"
- name: release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: Keyput-Methoard.exe
token: ${{ secrets.GITHUB_TOKEN }}
build-mac:
name: build-and-release-mac
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: build
run: sh mac/build.sh
- name: release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: mac/karabiner.edn
token: ${{ secrets.GITHUB_TOKEN }}