Skip to content

Commit 5f042ea

Browse files
author
Michael Fuest
committed
workflow updates
1 parent df673b9 commit 5f042ea

File tree

2 files changed

+34
-68
lines changed

2 files changed

+34
-68
lines changed

.github/workflows/publish.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Publish Python 🐍 distributions 📦 to PyPI
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*' # Only run on version tags
7+
8+
permissions:
9+
id-token: write # Required for OIDC
10+
contents: read
11+
12+
jobs:
13+
build-and-publish:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Set up Python
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: '3.9'
22+
23+
- name: Install Poetry
24+
run: pip install poetry
25+
26+
- name: Install dependencies
27+
run: poetry install --no-root
28+
29+
- name: Build package
30+
run: poetry build
31+
32+
- name: Publish to PyPI
33+
uses: pypa/gh-action-pypi-publish@release/v1
34+
with:

.github/workflows/release.yml

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)