Skip to content

Commit f2e6814

Browse files
authored
CI: build package (#1564)
1 parent 4318268 commit f2e6814

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/build.yaml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 📦 Build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Set up Python 3.10
11+
uses: actions/setup-python@v5
12+
with:
13+
python-version: "3.10"
14+
- name: Install dependencies
15+
run: |
16+
python -m pip install --upgrade pip
17+
pip install build twine
18+
- name: Building package
19+
run: python3 -m build
20+
- name: Check package with Twine
21+
run: twine check dist/*

0 commit comments

Comments
 (0)