Skip to content

Commit f80899c

Browse files
committed
ci(workflows): add python and poetry setup to publishing release
1 parent f67d077 commit f80899c

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/publish-package.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
with:
2929
fetch-depth: 0
3030

31-
- uses: actions/setup-python@v5
31+
- name: Set up Python
32+
uses: actions/setup-python@v5
3233
with:
3334
python-version: "3.12"
3435

.github/workflows/publish-release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
packages: read
2222

2323
release:
24+
name: Create and Publish Release
2425
needs: linting-and-testing
2526
runs-on: ubuntu-latest
2627
concurrency:
@@ -73,6 +74,18 @@ jobs:
7374
7475
printf '%s\n' "Verified upstream branch has not changed, continuing with release..."
7576
77+
- name: Set up Python
78+
uses: actions/setup-python@v5
79+
with:
80+
python-version: "3.12"
81+
82+
- name: Install Poetry
83+
uses: snok/install-poetry@v1
84+
with:
85+
version: 'latest'
86+
virtualenvs-create: true
87+
virtualenvs-in-project: true
88+
7689
- name: Semantic Version Release
7790
id: release
7891
uses: python-semantic-release/python-semantic-release@v10.4.1

0 commit comments

Comments
 (0)