Skip to content

Commit

Permalink
Release 0.8.3
Browse files Browse the repository at this point in the history
Have GitHub Actions publish the tagged Release.
  • Loading branch information
JoseIgnacioTamayo committed Aug 1, 2023
1 parent eb2d4a7 commit f34212f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 5 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

name: Python package and publish

on:
release:
types: [published]

jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Build package
run: python -m build --sdist --wheel --outdir dist/
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1


6 changes: 2 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Python test and package
name: Python test

on:
push:
Expand All @@ -10,14 +10,12 @@ on:
branches: [ "master" ]

jobs:
build:

test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion pyangbind/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.8.2"
__version__ = "0.8.3"

0 comments on commit f34212f

Please sign in to comment.