This commit is contained in:
parent
a683ae196c
commit
1352dd2fbc
1 changed files with 11 additions and 13 deletions
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
|
@ -11,19 +11,14 @@ jobs:
|
|||
apt-get update
|
||||
apt-get install tree curl -y
|
||||
|
||||
- name: Install Node.js
|
||||
- name: Install Node.JS Workarround, see https://github.com/nektos/act/issues/973
|
||||
run: |
|
||||
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
||||
apt install -y nodejs
|
||||
node --version
|
||||
|
||||
- name: Hack container for local development
|
||||
if: ${{ true }}
|
||||
run: printf "/home/runner/externals/node20/bin\n" >> $GITHUB_PATH
|
||||
|
||||
- name: Git checkout Config
|
||||
- name: Git checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Clone ZMK Repo
|
||||
run: git clone https://github.com/zmkfirmware/zmk.git
|
||||
|
||||
|
@ -38,14 +33,17 @@ jobs:
|
|||
- name: Build Right Shield
|
||||
working-directory: ./zmk/app
|
||||
run: west build -d build/right -b nice_nano_v2 -- -DSHIELD=kyria_rev3_right -DZMK_CONFIG="../../config"
|
||||
- name: Debug Output
|
||||
working-directory: ./zmk/app
|
||||
|
||||
- name: Rename artifacts
|
||||
working-directory: .
|
||||
run: |
|
||||
ls -la
|
||||
tree
|
||||
mkdir "./artifacts"
|
||||
cp ./zmk/app/build/left/zephyr/zmk.uf2 ./artifacts/kyria_rev3_left-nice_nano_v2-zmk.uf2
|
||||
cp ./zmk/app/build/right/zephyr/zmk.uf2 ./artifacts/kyria_rev3_right-nice_nano_v2-zmk.uf2
|
||||
|
||||
- name: Upload Artifacts
|
||||
if: ${{ true }}
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: firmware.zip
|
||||
path: ./zmk/app/build
|
||||
name: firmware
|
||||
path: ./artifacts
|
||||
|
|
Loading…
Add table
Reference in a new issue