File tree Expand file tree Collapse file tree 2 files changed +19
-47
lines changed Expand file tree Collapse file tree 2 files changed +19
-47
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- name : Create Release Version
1
+ name : Create Release Version & Publish Package
2
2
3
3
on :
4
4
push :
@@ -27,11 +27,28 @@ jobs:
27
27
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28
28
29
29
- name : Create release
30
+ id : release
30
31
31
32
env :
32
- GITHUB_TOKEN : ${{ secrets.RELEASE_TOKEN }}
33
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33
34
with :
34
35
bump_version_scheme : norelease
35
36
tag_prefix : ' '
36
37
release_name : " Release <RELEASE_VERSION>"
37
38
use_github_release_notes : true
39
+
40
+ - name : Publish package
41
+ uses : gradle/gradle-build-action@v2
42
+ with :
43
+ arguments : publish
44
+ env :
45
+ GITHUB_VERSION : ${{ steps.release.outputs.tag_name }}
46
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
47
+
48
+ - name : Upload release artifact
49
+ uses : svenstaro/upload-release-action@v2
50
+ with :
51
+ repo_token : ${{ secrets.GITHUB_TOKEN }}
52
+ file : build/libs/multiverse-core-${{ steps.release.outputs.tag_name }}.jar
53
+ asset_name : multiverse-core-${{ steps.release.outputs.tag_name }}.jar
54
+ tag : ${{ steps.release.outputs.tag_name }}
You can’t perform that action at this time.
0 commit comments