File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ name: CI
44on : [push, pull_request, workflow_dispatch]
55
66permissions :
7- contents : read
7+ contents : write
88
99jobs :
10- distros :
10+ build :
1111 name : " ${{ matrix.os }} with Python ${{ matrix.python-version }}"
1212 runs-on : ${{ matrix.os }}
1313 strategy :
3939 - name : " build python-ldap ${{ matrix.python-version }}"
4040 run : " python -m build"
4141 - name : Upload a Build Artifact
42- uses : actions/upload-artifact@v3.1.2
42+ uses : actions/upload-artifact@v3
4343 with :
4444 # A file, directory or wildcard pattern that describes what to upload
45- path : dist/*
45+ path : dist/*.whl
46+ release :
47+ name : " Release"
48+ runs-on : ubuntu-latest
49+ steps :
50+ - name : Download Artifacts
51+ # will download and upack all files from the default artifact named 'artifact'
52+ uses : actions/download-artifact@v3
53+ - name : GH Release
54+ uses : softprops/action-gh-release@v0.1
55+ with :
56+ name : latest
57+ files : |
58+ *.whl
You can’t perform that action at this time.
0 commit comments