Skip to content

Release

Release #7

Workflow file for this run

name: Release
#on:
# push:
# branches:
# - main
on:
workflow_dispatch:
jobs:
release:
name: Release
runs-on: ubuntu-latest
environment: release
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install semantic-release
run: npm install
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PYPI_TOKEN: ${{ secrets.PYPI_PASSWORD }}
run: npx semantic-release