update version number #3
Workflow file for this run
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 creation | |
on: | |
push: | |
# Sequence of patterns matched against refs/tags | |
tags: | |
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 | |
env: | |
PYTHON_VERSION: "3.12" | |
jobs: | |
build-linux: | |
name: Release on PyPi | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install the latest version of rye | |
uses: eifinger/setup-rye@v1 | |
- name: Sync Rye | |
run: | | |
rye pin ${{ env.PYTHON_VERSION }} | |
rye sync | |
- name: Build and release the controller | |
run: | | |
rye build | |
rye publish --token ${{ secrets.PYPI_TOKEN }} --yes |