Skip to content

Commit fd4f865

Browse files
Update CI.yml
1 parent 93b1afb commit fd4f865

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/CI.yml

+14-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,19 @@ jobs:
111111
- name: Install python dependencies
112112
run: |
113113
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
114-
114+
# Upload the .whl file to the GitHub Release
115+
116+
- name: Build the dependency
117+
run: poetry run build
118+
119+
- name: Upload to GitHub Release
120+
uses: actions/upload-release-asset@v1
121+
env:
122+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
123+
with:
124+
upload_url: ${{ github.event.release.upload_url }}
125+
asset_path: ./dist/*.whl
126+
115127
- name: Publish
116128
run: |
117-
poetry publish --build
129+
poetry publish

0 commit comments

Comments
 (0)