File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -55,14 +55,25 @@ jobs:
5555 id : vars
5656 run : echo tag=${GITHUB_REF#refs/*/} >> $GITHUB_OUTPUT
5757
58- - name : Build and publish
58+ - name : Build and publish (Windows)
59+ run : |
60+ .venv\Scripts\activate
61+ poetry version $RELEASE_VERSION
62+ make build-and-publish
63+ env :
64+ PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
65+ RELEASE_VERSION : ${{ steps.vars.outputs.tag }}
66+ if : ${{ startsWith(matrix.os, 'windows') }}
67+
68+ - name : Build and publish (Linux and macOS)
5969 run : |
6070 source .venv/bin/activate
6171 poetry version $RELEASE_VERSION
6272 make build-and-publish
6373 env :
6474 PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
6575 RELEASE_VERSION : ${{ steps.vars.outputs.tag }}
76+ if : ${{ startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macos') }}
6677
6778 - name : Setup tmate
6879 if : failure()
You can’t perform that action at this time.
0 commit comments