File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 tags :
66 - ' v*'
77 workflow_dispatch :
8+ inputs :
9+ create_release :
10+ description : ' Create a release'
11+ required : false
12+ type : boolean
13+ default : false
814
915jobs :
1016 build-x86_64 :
6874 release :
6975 runs-on : ubuntu-latest
7076 needs : [build-x86_64]
71- if : startsWith(github.ref, 'refs/tags/')
77+ if : startsWith(github.ref, 'refs/tags/') || github.event.inputs.create_release == 'true'
7278 permissions :
7379 contents : write
7480
@@ -88,12 +94,15 @@ jobs:
8894 - name : Create Release
8995 uses : softprops/action-gh-release@v2
9096 with :
91- name : Release ${{ github.ref_name }}
97+ name : Release ${{ github.event.inputs.create_release == 'true' && format('Manual Release {0}', github.run_number) || github.ref_name }}
98+ tag_name : ${{ github.event.inputs.create_release == 'true' && format('manual-{0}', github.run_number) || github.ref_name }}
9299 body : |
93100 Prebuilt dlib wheels for Linux x86_64 on Python 3.10, 3.11, and 3.12
94101
95102 **Installation:**
96- ```pip install dlib-*.whl```
103+
104+ ```pip install dlib-*.whl```
105+
97106 Choose the wheel that matches your Python version (cp310, cp311, or cp312)
98107 files : wheels/*.whl
99108 draft : false
You can’t perform that action at this time.
0 commit comments