forked from apple/app-store-server-library-python
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (33 loc) · 741 Bytes
/
Copy pathci-release.yml
File metadata and controls
33 lines (33 loc) · 741 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
31
32
33
name: Release Builder
permissions:
contents: read
on:
release:
types: [published]
jobs:
build:
# Only non-pre-release builds trigger a release
if: "!github.event.release.prerelease"
name: Python Release Builder
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.14"
- name: Install build
run: >-
python3 -m
pip install
build
--user
- name: Build the sdist and wheel
run: >-
python3 -m
build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1