Skip to content

chore(deps): update github/codeql-action action to v3 #80

chore(deps): update github/codeql-action action to v3

chore(deps): update github/codeql-action action to v3 #80

Workflow file for this run

---
name: Release
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pull-requests: read
jobs:
release:
runs-on: ubuntu-latest
name: Release
outputs:
release_created: ${{ steps.release.outputs.release_created }}
permissions:
contents: write
pull-requests: write
steps:
- uses: google-github-actions/release-please-action@v4
id: release
publish:
if: needs.release.outputs.release_created
runs-on: ubuntu-latest
name: Build and Publish
needs:
- release
permissions:
id-token: write
contents: read
strategy:
max-parallel: 4
matrix:
python-version: ["3.11"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build
- name: Build a binary wheel and a source tarball
run: |
python -m build
- name: Publish release distribution to PyPi
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true