Skip to content

actions: fix workflow triggers #6

actions: fix workflow triggers

actions: fix workflow triggers #6

Workflow file for this run

name: Create Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup venv
run: |
python -m venv .venv
. .venv/bin/activate
python -m pip install build
- name: Build
run: |
. .venv/bin/activate
python -m build
- name: Create Release
uses: ncipollo/release-action@v1
id: create_release
with:
draft: false
prerelease: false
generateReleaseNotes: true
artifacts: "dist/*.whl"
artifactErrorsFailBuild: true
token: ${{ github.token }}