Skip to content

update github actions #14

update github actions

update github actions #14

Workflow file for this run

name: Build and Release
on:
push:
tags:
- 'v*.*.*' # This will trigger the workflow on version tags, e.g., v1.0.0
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8' # Specify your Python version
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
- name: Build package
run: |
python setup.py sdist bdist_wheel
- name: "Build Changelog"
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v5
- name: Upload Package to Release
uses: softprops/action-gh-release@v1
with:
files: |
dist/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}