File tree Expand file tree Collapse file tree 1 file changed +25
-5
lines changed Expand file tree Collapse file tree 1 file changed +25
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ concurrency:
8
8
group : pypi-release
9
9
10
10
jobs :
11
- release :
11
+ build :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@v4
19
19
run : curl -sSL https://install.python-poetry.org | python3 -
20
20
- name : Validate Release Version
21
21
run : poetry version -s | grep -E "$(echo "$GITHUB_REF_NAME" | tr -d 'v')"
22
- - name : Publish to PyPI
23
- env :
24
- POETRY_PYPI_TOKEN_PYPI : ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
25
- run : poetry publish --build
22
+ - name : Build Basilisp distributions
23
+ run : poetry build
24
+ - name : Upload build artifact
25
+ uses : actions/upload-artifact@v4
26
+ with :
27
+ path : dist/
28
+ if-no-files-found : error
29
+
30
+ release :
31
+ runs-on : ubuntu-latest
32
+ environment :
33
+ name : release
34
+ needs :
35
+ - build
36
+ permissions :
37
+ id-token : write
38
+ steps :
39
+ - name : Download build artifact
40
+ uses : actions/download-artifact@v4
41
+ with :
42
+ path : dist/
43
+ merge-multiple : true
44
+ - name : Publish package distributions to PyPI
45
+ uses : pypa/gh-action-pypi-publish@release/v1.12.2
You can’t perform that action at this time.
0 commit comments