Refactor SDIO package: rename classes and update docstrings for clarity #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: push | |
permissions: | |
contents: write | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
if: startsWith(github.ref, 'refs/tags/') | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Fetch all tags | |
run: git fetch --depth=1 --tags | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
- name: Install git-changelog | |
run: pip install git-changelog | |
- name: Prepare release notes | |
run: git-changelog --release-notes > release-notes.md | |
- name: Create release | |
uses: softprops/action-gh-release@v1 | |
with: | |
body_path: release-notes.md | |
- name: Set up PDM | |
uses: pdm-project/setup-pdm@v4 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: pdm install -G docs | |
- name: Build Docs | |
run: pdm run mkdocs gh-deploy |