Skip to content

Commit

Permalink
test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Spuxy committed Oct 11, 2024
1 parent 987dc3d commit 15d6569
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/build_binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,21 @@ jobs:

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
- name: Install pipx
run: |
python -m pip install --upgrade pip
pip install keymap-drawer # Replace with the correct package name if different
python -m pip install --user pipx
python -m pipx ensurepath
export PATH=$PATH:~/.local/bin # Ensure pipx is in PATH
- name: Install keymap-drawer using pipx
run: |
pipx 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
pipx run keymap-drawer -q 12 "$file" # Use pipx to run the installed keymap-drawer
done
- name: Commit and push changes
Expand All @@ -52,4 +48,3 @@ jobs:
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 15d6569

Please sign in to comment.