chore: fix qmk github action

main
sudo pacman -Syu 2023-07-28 00:50:47 +07:00
parent 9a99f29eaa
commit 1a0c977698
1 changed files with 24 additions and 25 deletions

View File

@ -6,28 +6,27 @@ jobs:
build:
runs-on: ubuntu-latest
container: ghcr.io/qmk/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
- name: Checkout personal keymaps
uses: actions/checkout@v3
with:
sparse-checkout: dztech_dz60rgb_wkl/keymaps/haunt98
path: ~/qmk_firmware/keyboards/dztech/dz60rgb_wkl/keymaps
- name: Build firmware
run: qmk compile -j 8 -kb dztech/dz60rgb_wkl/v2_1 -km haunt98
- name: Archive firmware
uses: actions/upload-artifact@v3
continue-on-error: true
with:
name: dztech_dz60rgb_wkl_haunt98
path: |
*.hex
*.bin
*.uf2
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
- name: Checkout personal keymaps
uses: actions/checkout@v3
with:
sparse-checkout: dztech_dz60rgb_wkl/keymaps/haunt98
path: ~/qmk_firmware/keyboards/dztech/dz60rgb_wkl/keymaps
- name: Build firmware
run: qmk compile -j 8 -kb dztech/dz60rgb_wkl/v2_1 -km haunt98
- name: Archive firmware
uses: actions/upload-artifact@v3
continue-on-error: true
with:
name: dztech_dz60rgb_wkl_haunt98
path: |
*.hex
*.bin
*.uf2