Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit 741f485

Browse files
committed
OPS: Switch to using poetry for example service
1 parent b65f2cf commit 741f485

File tree

6 files changed

+1179
-20
lines changed

6 files changed

+1179
-20
lines changed

.github/workflows/python-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ jobs:
1717

1818
- uses: octue/[email protected]
1919
with:
20-
path: setup.py
20+
path: pyproject.toml
2121
breaking_change_indicated_by: minor

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,12 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717

18+
- name: Install Poetry
19+
uses: snok/[email protected]
20+
1821
- name: Get package version
1922
id: get-package-version
20-
run: echo "PACKAGE_VERSION=$(python setup.py --version)" >> $GITHUB_OUTPUT
23+
run: echo "PACKAGE_VERSION=$(poetry version -s)" >> $GITHUB_OUTPUT
2124

2225
- name: Create Release
2326
uses: actions/create-release@v1

0 commit comments

Comments
 (0)