Skip to content
This repository has been archived by the owner on Feb 20, 2025. It is now read-only.

v0.2.0

v0.2.0 #25

Workflow file for this run

name: 'Release'
on:
release:
types: [ "published" ]
workflow_dispatch:
permissions:
contents: write
id-token: write
pull-requests: read
concurrency:
# This prevents concurrency in building/deploying an environment.
group: release
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build python packages
uses: ./.github/workflows/templates/release/build
with:
python_version: '3.11'
uv_version: '0.4.27'
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: libs
path: ./dist
publish:
runs-on: ubuntu-latest
needs: build
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download wheels
uses: actions/download-artifact@v4
with:
name: libs
path: ./dist
- name: List dist folder
run: ls -la ./dist
- name: 'Get version'
id: version
uses: JasperHG90/git-version@v4
- name: Publish python packages
run: |
gh release upload v${{ steps.version.outputs.version }} ./dist/*