Skip to content

Commit b323ddc

Browse files
committed
chore: add packaging without publish to CI
1 parent f71da5f commit b323ddc

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/package.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Kazoo Awesome Packaging Test
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- release/*
8+
pull_request:
9+
branches:
10+
- master
11+
- release/*
12+
13+
jobs:
14+
package-without-publish:
15+
name: Testing packaging WITHOUT publishing to Pypi
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Handle the code
19+
uses: actions/checkout@v2
20+
21+
- name: Set up Python 3.10
22+
uses: actions/setup-python@v2
23+
with:
24+
python-version: "3.10"
25+
26+
- name: Install pypa/build
27+
run: >-
28+
python -m
29+
pip install
30+
build
31+
--user
32+
33+
- name: Build a binary wheel and a source tarball
34+
run: >-
35+
python -m
36+
build
37+
-C--global-option=egg_info
38+
-C--global-option=--tag-build=""
39+
--sdist
40+
--wheel
41+
--outdir dist/
42+
.

0 commit comments

Comments
 (0)