Modernize the qmk_cli package (#91)

* bring our package into the future

* trigger the OS packages upon a successful build

* fix windows

* trim deps

* remove the qmk_cli module from setup
This commit is contained in:
Zach White
2021-08-12 09:53:28 -07:00
committed by GitHub
parent bbd667e30c
commit f8fe363999
7 changed files with 96 additions and 87 deletions
+6 -2
View File
@@ -26,7 +26,7 @@ jobs:
run: ./ci_tests
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python3 -m pip install --upgrade pip
pip install setuptools wheel
pip install -r requirements-dev.txt
- name: Bump version
@@ -45,7 +45,7 @@ jobs:
TWINE_USERNAME: qmk
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
python3 -m build
twine upload dist/*
- name: Log in to Docker Hub
uses: docker/login-action@v1.10.0
@@ -58,3 +58,7 @@ jobs:
context: .
push: true
tags: qmkfm/qmk_cli:latest
- name: Trigger OS package builds
run: ./trigger_packages
env:
QMK_BOT_TOKEN: ${{ secrets.QMK_BOT_TOKEN }}