8000 Add create release step to workflow · Co-Simulation/llama-cpp-python@d41cb0e · GitHub
[go: up one dir, main page]

Skip to content

Commit d41cb0e

Browse files
committed
Add create release step to workflow
1 parent 8594b83 commit d41cb0e

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/build-and-release.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,20 @@ jobs:
4949
python setup.py sdist
5050
- uses: actions/upload-artifact@v3
5151
with:
52-
path: ./dist/*.tar.gz
52+
path: ./dist/*.tar.gz
53+
54+
release:
55+
name: Release
56+
needs: [build_wheels, build_sdist]
57+
runs-on: ubuntu-latest
58+
59+
steps:
60+
- uses: actions/download-artifact@v3
61+
with:
62+
name: artifact
63+
path: dist
64+
- uses: softprops/action-gh-release@v1
65+
with:
66+
files: dist/*
67+
env:
68+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)
0