Skip to content

Commit 1c53958

Browse files
authored
update publish action (#47)
1 parent f7db1ce commit 1c53958

File tree

2 files changed

+34
-31
lines changed

2 files changed

+34
-31
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 to pypi
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
pypi_release:
9+
name: builds and publishes to pypi
10+
runs-on: ubuntu-latest
11+
environment:
12+
name: pypi
13+
url: https://pypi.org/p/prodigy-prot
14+
permissions:
15+
id-token: write
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- uses: actions/setup-python@v5
21+
with:
22+
python-version: "3.13"
23+
24+
- name: install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
python -m pip install --upgrade build
28+
29+
- name: build
30+
run: |
31+
python -m build
32+
33+
- name: Publish package distributions to PyPI
34+
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/pypi-publish.yml

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

0 commit comments

Comments
 (0)