-
Notifications
You must be signed in to change notification settings - Fork 28
41 lines (38 loc) · 1.18 KB
/
process.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: "Automated Release: Run ORYX download, macro enhancement post-processor & QMK compiler"
on:
push:
workflow_dispatch:
jobs:
process_macros:
runs-on: ubuntu-latest
name: Macro Enhancement
env:
LAYOUT_ID: ${{ vars.LAYOUT_ID }}
LAYOUT_FOLDER: ${{ vars.LAYOUT_FOLDER }}
USER_NAME: ${{ github.repository_owner }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install
run: npm install
- name: Get ORYX layout
run: npm run get
- name: Process macros
run: npm start
- name: Compile QMK Firmware from source
uses: Phoscur/QMK-compile@main
with:
path: layout_src/${{ vars.LAYOUT_FOLDER }}
artifacts_path: ${{ github.workspace }}/artifacts
keymap: firmware
keyboard: moonlander
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
title: "Updated firmware"
files: |
artifacts/moonlander_firmware.bin