Skip to content

Commit c2133bb

Browse files
committed
add none build
1 parent 7b08c22 commit c2133bb

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,27 @@ jobs:
9797
name: dist
9898
path: dist
9999

100+
build_none:
101+
runs-on: ubuntu-latest
102+
steps:
103+
- uses: actions/checkout@v3
104+
- name: Install and configure Poetry
105+
uses: snok/install-poetry@v1
106+
with:
107+
version: 1.8.5
108+
- name: Install dependencies
109+
run: poetry install --only main --only test --only typing --only build
110+
- name: Run poetry build
111+
run: poetry build
112+
- name: Upload sdist
113+
uses: actions/upload-artifact@v3
114+
with:
115+
name: dist
116+
path: dist
117+
100118

101119
Release:
102-
needs: [ build, build_sdist ]
120+
needs: [ build, build_sdist, build_none ]
103121
if: success() && startsWith(github.ref, 'refs/tags/')
104122
runs-on: ubuntu-latest
105123

0 commit comments

Comments
 (0)