id: repo-name
run: |
echo ::set-output name=repo-name::Adafruit-Blinka-displayio
- - name: Set up Python 3.x
+ - name: Set up Python 3.9
uses: actions/setup-python@v2
with:
- python-version: "3.x"
+ python-version: "3.9"
- name: Versions
run: |
python3 --version
- name: Pre-commit hooks
run: |
pre-commit run --all-files
- - name: Build assets
- run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location .
- - name: Archive bundles
- uses: actions/upload-artifact@v2
- with:
- name: bundles
- path: ${{ github.workspace }}/bundles/
- name: Build docs
working-directory: docs
run: sphinx-build -E -W -b html . _build/html