Skip to content

Commit d0d54eb

Browse files
authored
Merge pull request #68 from casework/release-0.1.0
Add steps to build project in publishing workflow
2 parents cd5c856 + 0c8dc9b commit d0d54eb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/publish.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,21 @@ jobs:
3131
# https://docs.pypi.org/trusted-publishers/using-a-publisher/
3232
id-token: write
3333
steps:
34+
- name: Checkout Repository
35+
uses: actions/checkout@v4
36+
37+
- name: Set up oldest tested Python
38+
uses: actions/setup-python@v5
39+
with:
40+
python-version: "3.9"
41+
42+
- name: Install Dependencies
43+
run: |
44+
pip -q install poetry
45+
poetry install
46+
47+
- name: Build Package
48+
run: poetry build
49+
3450
- name: Push to PyPi
3551
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)