Skip to content

Commit a41fea6

Browse files
committed
ci(tests): Split out pypi release to avoid docker pull
1 parent 4992673 commit a41fea6

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/tests.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,27 @@ jobs:
4040
with:
4141
token: ${{ secrets.CODECOV_TOKEN }}
4242

43+
release:
44+
runs-on: ubuntu-latest
45+
needs: build
46+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
47+
48+
strategy:
49+
matrix:
50+
python-version: ["3.10"]
51+
52+
steps:
53+
- uses: actions/checkout@v3
54+
55+
- name: Install poetry
56+
run: pipx install "poetry==1.1.15"
57+
58+
- name: Set up Python ${{ matrix.python-version }}
59+
uses: actions/setup-python@v4
60+
with:
61+
python-version: ${{ matrix.python-version }}
62+
cache: 'poetry'
63+
4364
- name: Build package
4465
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
4566
run: poetry build

0 commit comments

Comments
 (0)