Skip to content

Commit

Permalink
📦 v0.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mikegerber committed Aug 1, 2023
1 parent c1762da commit 19080bf
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
29 changes: 24 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,44 @@ on:
- "v*.*.*"

jobs:
github-release:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build package
run: python3 -m pip install --upgrade build && python3 -m build
- name: Upload dist
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/

github-release:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download dist
uses: actions/download-artifact@v3
with:
name: dist
path: dist/
- name: Create release on GitHub
uses: softprops/action-gh-release@v1

pypi-publish:
needs: build
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/setuptools-ocrd
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build package
run: python3 -m pip install --upgrade build && python3 -m build
- name: Download dist
uses: actions/download-artifact@v3
with:
name: dist
path: dist/
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools", "wheel"]

[project]
name = "setuptools_ocrd"
version = "0.0.5"
version = "0.0.6"
authors = [
{name = "Mike Gerber", email = "[email protected]"},
]
Expand Down

0 comments on commit 19080bf

Please sign in to comment.