Skip to content

feat: upgrade CI Python version to 3.12 #11

feat: upgrade CI Python version to 3.12

feat: upgrade CI Python version to 3.12 #11

Workflow file for this run

name: release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: '20'
- name: Setup
run: npm install -g semantic-release @semantic-release/github @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/git @semantic-release/release-notes-generator semantic-release-pypi
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Install setuptools
run: python -m pip install --upgrade setuptools wheel twine
- name: Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: npx semantic-release