Skip to content

2.0.0 - Allow boards with dashes in name #3

2.0.0 - Allow boards with dashes in name

2.0.0 - Allow boards with dashes in name #3

Workflow file for this run

# SPDX-FileCopyrightText: 2024 Alec Delaney
# SPDX-License-Identifier: MIT
name: Run publish-specific workflows
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout the repository
uses: actions/checkout@v4
with:
submodules: true
- name: Install Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install -U pip
pip install build
- name: Update package version to ${{ github.event.release.tag_name }}
run: |
echo "${{ github.event.release.tag_name }}" > VERSION
- name: Build the package
run: |
python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1