Disable unnecessary commands #28
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: QMK firmware build | |
on: [push, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: qmkfm/qmk_cli | |
steps: | |
- name: Disable git safe directory checks | |
run : git config --global --add safe.directory '*' | |
- name: Checkout QMK | |
uses: actions/checkout@v3 | |
with: | |
repository: qmk/qmk_firmware | |
submodules: recursive | |
persist-credentials: false | |
- name: Checkout userspace | |
uses: actions/checkout@v3 | |
with: | |
path: keyboards/kinesis/keymaps/${{ github.actor }} | |
persist-credentials: false | |
- name: Build firmware | |
run: qmk compile -kb kinesis/stapelberg -km ${{ github.actor }} | |
- name: Archive firmware | |
uses: actions/upload-artifact@v3 | |
continue-on-error: true | |
with: | |
name: kinesis_hadynz_qmk_keymap_${{ github.run_number }} | |
path: | | |
*.hex | |
*.bin | |
*.uf2 |