forked from bitvavo/python-bitvavo-api
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (30 loc) · 723 Bytes
/
release.yml
File metadata and controls
30 lines (30 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
name: Publish to PyPI and TestPyPI
on:
push:
branches:
- master
jobs:
build-n-publish:
name: Publish to PyPI and TestPyPI
runs-on: ubuntu-24.04
environment:
name: release
permissions:
# For PyPI's trusted publishing.
id-token: write
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Build Wheel
run: uv build
- name: Publish Release on GitHub
uses: actions/download-artifact@v4
with:
pattern: wheels-*
path: wheels
merge-multiple: true
- name: Publish to PyPI
run: uv publish --verbose dist/*