Skip to content

Merge pull request #4 from brisvag/dependabot/github_actions/actions/… #10

Merge pull request #4 from brisvag/dependabot/github_actions/actions/…

Merge pull request #4 from brisvag/dependabot/github_actions/actions/… #10

Workflow file for this run

name: CI
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
tags:
- "v*"
workflow_dispatch:
jobs:
check-manifest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pipx run check-manifest
deploy:
name: Deploy
needs: check-manifest
if: success() && startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: install
run: |
pip install -U pip build twine
python -m build
twine check dist/*
- name: Build and publish
run: twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_API_KEY }}
- uses: softprops/action-gh-release@v1
with:
generate_release_notes: true