-
Notifications
You must be signed in to change notification settings - Fork 8
35 lines (27 loc) · 1.03 KB
/
build_package.yml
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
34
35
name: Build oktoberfest Package
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')"
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python: ["3.9", "3.10"]
steps:
- uses: actions/checkout@v4
name: Check out source-code repository
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install Poetry
run: |
pip install poetry
poetry --version
- name: Build package
run: poetry build --ansi
- name: Install required twine packaging dependencies
run: pip install setuptools wheel twine
- name: Check twine package
run: twine check dist/*