Skip to content

Rename firmware file #34

Rename firmware file

Rename firmware file #34

Workflow file for this run

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: ${{ github.actor }}
persist-credentials: false
- name: Symlink keymap from userspace to qmk directory
run: ln -s ../../../${{ github.actor }}/keymap keyboards/kinesis/keymaps/${{ github.actor }}
- name: Build firmware
run: |
qmk compile -kb kinesis/stapelberg -km ${{ github.actor }}
- name: Rename firmware files with run number
run: rename 's/(.*)\.hex/$1_${{ github.run_number }}.hex/' *.hex
- name: Archive firmware
uses: actions/upload-artifact@v3
continue-on-error: true
with:
name: kinesis_${{ github.actor }}_qmk_keymap_${{ github.run_number }}
path: *.hex

Check failure on line 41 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 41