55 inputs :
66 tag :
77 required : true
8- description : ' Tag'
8+ description : " Tag"
99 status :
1010 required : true
11- description : ' Status (beta, stable)'
11+ description : " Status (beta, stable)"
1212
1313env :
1414 VERSION : ${{ github.event.inputs.tag }}-${{ github.event.inputs.status }}
@@ -18,26 +18,26 @@ jobs:
1818 runs-on : ubuntu-latest
1919
2020 steps :
21- - name : Checkout repository
22- uses : actions/checkout@v2
21+ - name : Checkout repository
22+ uses : actions/checkout@v2
23+
24+ - name : Set up JDK
25+ uses : actions/setup-java@v2
26+ with :
27+ distribution : " adopt"
28+ java-version : " 17"
2329
24- - name : Set up JDK
25- uses : actions/setup-java@v2
26- with :
27- distribution : ' adopt'
28- java-version : ' 17'
30+ - name : Make gradlew executable
31+ run : chmod +x gradlew
2932
30- - name : Make gradlew executable
31- run : chmod +x gradlew
32-
33- - name : Build with Gradle
34- run : ./gradlew build -PVERSION="${{ env.VERSION }}"
33+ - name : Build with Gradle
34+ run : ./gradlew build -PVERSION="${{ env.VERSION }}"
3535
36- - name : Archive artifacts
37- uses : actions/upload-artifact@v2
38- with :
39- name : geyser-voice-artifact
40- path : build/libs/
36+ - name : Archive artifacts
37+ uses : actions/upload-artifact@v3
38+ with :
39+ name : geyser-voice-artifact
40+ path : build/libs/
4141
4242 publish_release :
4343 name : Publish release
@@ -46,13 +46,13 @@ jobs:
4646
4747 permissions :
4848 contents : write
49-
49+
5050 steps :
5151 - name : Checkout repository
5252 uses : actions/checkout@v2
5353
5454 - name : Download artifacts
55- uses : actions/download-artifact@v2
55+ uses : actions/download-artifact@v3
5656 with :
5757 name : geyser-voice-artifact
5858 path : build/libs/
0 commit comments