Skip to content

Commit

Permalink
test keymap-drawer
Browse files Browse the repository at this point in the history
  • Loading branch information
Spuxy committed Oct 11, 2024
1 parent d1775ed commit 987dc3d
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build_binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,38 @@ jobs:
uses: qmk/.github/.github/workflows/qmk_userspace_publish.yml@main
if: always() && !cancelled()
needs: build


generate_keymaps:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12' # Specify the Python version you want

- name: Install keymap-drawer
run: |
python -m pip install --upgrade pip
pip install keymap-drawer # Replace with the correct package name if different
- name: Generate keymaps
run: |
for file in john_doe/*.json; do
keymap-drawer "$file" # Replace with the correct command for keymap-drawer if needed
done
- name: Commit and push changes
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "Auto-generated keymap from JSON"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 987dc3d

Please sign in to comment.