File tree Expand file tree Collapse file tree 2 files changed +38
-1
lines changed Expand file tree Collapse file tree 2 files changed +38
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : ' release'
2
+ on : [ push, pull_request ]
3
+ permissions :
4
+ contents : write
5
+ jobs :
6
+ ci :
7
+ runs-on : ubuntu-22.04
8
+ steps :
9
+
10
+ - name : ' Checkout repository'
11
+ uses : actions/checkout@v4
12
+ with :
13
+ fetch-depth : 0
14
+
15
+ - name : ' Validate gradlew'
16
+ uses : gradle/actions/wrapper-validation@v4
17
+
18
+ - name : ' Setup Java'
19
+ uses : actions/setup-java@v4
20
+ with :
21
+ java-version : ' 21'
22
+ distribution : ' temurin'
23
+ check-latest : true
24
+ cache : ' gradle'
25
+
26
+ - name : ' Change permissions'
27
+ run : chmod +x ./gradlew
28
+
29
+ - name : ' Build plugin'
30
+ run : ./gradlew --console plain --no-daemon --full-stacktrace check build
31
+
32
+ - name : ' Release plugin'
33
+ uses : softprops/action-gh-release@v2
34
+ if : startsWith(github.ref, 'refs/tags/v')
35
+ with :
36
+ body : ' automated release at commit ${{ github.sha }}'
37
+ files : ' build/dist/*.jar'
Original file line number Diff line number Diff line change 1
- plugin_version =3.0.9-INDEV
1
+ plugin_version =3.0.10
2
2
velocity_api_version =3.4.0-SNAPSHOT
3
3
minecraft_version =1.20.6
You can’t perform that action at this time.
0 commit comments