File tree 2 files changed +14
-10
lines changed
2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Create dataset release
2
2
3
3
on :
4
4
workflow_dispatch :
5
+ push :
6
+ tags :
7
+ - " v*.*.*"
5
8
6
9
jobs :
7
10
run-python :
@@ -20,14 +23,15 @@ jobs:
20
23
- name : Run conversion script
21
24
run : |
22
25
sh scripts/convert_manifolds.sh
23
-
24
- - name : Create release
25
- uses : " marvinpinto/action-automatic-releases@latest"
26
+
27
+ - name : Release
28
+ uses : softprops/action-gh-release@v2
29
+ if : startsWith(github.ref, 'refs/tags/')
26
30
with :
27
- repo_token : " ${{ secrets.GITHUB_TOKEN }}"
28
- automatic_release_tag : " latest"
29
- title : " Manifolds Dataset"
30
- prerelease : false
31
+ draft : true
32
+ generate_release_notes : true
33
+ make_latest : true
31
34
files : |
32
35
2_manifolds.json.gz
33
36
3_manifolds.json.gz
37
+
Original file line number Diff line number Diff line change @@ -31,15 +31,15 @@ jobs:
31
31
publish-to-pypi :
32
32
name : >-
33
33
Publish Python 🐍 distribution 📦 to PyPI
34
- if : startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
34
+ if : startsWith(github.ref, 'refs/tags/')
35
35
needs :
36
36
- build
37
37
runs-on : ubuntu-latest
38
38
environment :
39
39
name : pypi
40
- url : https://pypi.org/p/mantra-dataset # Replace <package-name> with your PyPI project name
40
+ url : https://pypi.org/p/mantra-dataset
41
41
permissions :
42
- id-token : write # IMPORTANT: mandatory for trusted publishing
42
+ id-token : write
43
43
44
44
steps :
45
45
- name : Download all the dists
You can’t perform that action at this time.
0 commit comments