Skip to content

Commit 1d42c81

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

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/tests.yml

+21
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,27 @@ jobs:
7777
with:
7878
token: ${{ secrets.CODECOV_TOKEN }}
7979

80+
release:
81+
runs-on: ubuntu-latest
82+
needs: build
83+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
84+
85+
strategy:
86+
matrix:
87+
python-version: ["3.10"]
88+
89+
steps:
90+
- uses: actions/checkout@v3
91+
92+
- name: Install poetry
93+
run: pipx install "poetry==1.1.15"
94+
95+
- name: Set up Python ${{ matrix.python-version }}
96+
uses: actions/setup-python@v4
97+
with:
98+
python-version: ${{ matrix.python-version }}
99+
cache: 'poetry'
100+
80101
- name: Build package
81102
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
82103
run: poetry build

0 commit comments

Comments
 (0)