Fix build bug #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build personal keymaps for fingerpunch keyboards | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
container: qmkfm/qmk_cli | |
strategy: | |
fail-fast: false | |
matrix: | |
keyboard: | |
- ffkb | |
steps: | |
- name: Disable git safe directory checks | |
run: git config --global --add safe.directory '*' | |
- name: Checkout QMK | |
uses: actions/checkout@v3 | |
with: | |
repository: sadekbaroudi/qmk_firmware | |
persist-credentials: false | |
submodules: recursive | |
- name: Checkout userspace | |
uses: actions/checkout@v3 | |
with: | |
path: users/${{ github.actor }} | |
persist-credentials: false | |
- name: Build firmware | |
run: qmk compile "users/${{ github.actor }}/keymaps/${{ matrix.keyboard }}.json" | |
- name: Upload firmware | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.actor }}_firmware | |
path: '*.hex' | |
retention-days: 7 |