Skip to content

Commit d58a16f

Browse files
authored
Create build-package workflow
1 parent f0a1436 commit d58a16f

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build package
2+
3+
on: [workflow_dispatch]
4+
5+
permissions:
6+
contents: read
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Set up Python 3.10
14+
uses: actions/setup-python@v3
15+
with:
16+
python-version: "3.10"
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install build
21+
- name: Build package
22+
run: |
23+
python -m build
24+
- name: Upload artifact
25+
uses: actions/upload-artifact@v4
26+
with:
27+
path: dist/
28+
overwrite: true
29+

0 commit comments

Comments
 (0)