File tree 7 files changed +15
-15
lines changed
src/main/kotlin/dev/arbjerg/lavalink/client
7 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ jobs:
10
10
group : ${{ github.ref }}
11
11
cancel-in-progress : true
12
12
steps :
13
- - uses : actions/checkout@v3
13
+ - uses : actions/checkout@v4
14
14
with :
15
15
path : ' ./'
16
16
fetch-depth : 0
17
- - name : Set up JDK 17
18
- uses : actions/setup-java@v3
17
+ - name : Set up JDK 21
18
+ uses : actions/setup-java@v4
19
19
with :
20
20
java-version : 21
21
21
distribution : zulu
Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ jobs:
30
30
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGINMEMORYKEYPASSWORD }}
31
31
steps :
32
32
- name : Checkout
33
- uses : actions/checkout@v3
33
+ uses : actions/checkout@v4
34
34
with :
35
35
fetch-depth : 0
36
36
37
37
- name : Setup Java
38
- uses : actions/setup-java@v3
38
+ uses : actions/setup-java@v4
39
39
with :
40
40
distribution : zulu
41
41
java-version : 21
48
48
run : ./gradlew build publish --no-daemon -x test
49
49
50
50
- name : Upload Artifacts
51
- uses : actions/upload-artifact@v3
51
+ uses : actions/upload-artifact@v4
52
52
with :
53
53
name : Lavalink-Client.zip
54
54
path : |
Original file line number Diff line number Diff line change 19
19
contents : read
20
20
deployments : write
21
21
steps :
22
- - uses : actions/checkout@v3
22
+ - uses : actions/checkout@v4
23
23
with :
24
24
fetch-depth : 0
25
25
- uses : actions/setup-java@v4
31
31
run : ./gradlew --no-daemon dokkaHtml dokkaJavadoc
32
32
- name : Copy javadoc subfolder
33
33
run : mv build/dokka/javadoc build/dokka/html/ && cp dokka/includes/404.html build/dokka/html/
34
- - uses : actions/upload-pages-artifact@v1
34
+ - uses : actions/upload-pages-artifact@v3
35
35
with :
36
36
path : ' build/dokka/html'
37
37
- uses : cloudflare/pages-action@v1
Original file line number Diff line number Diff line change 19
19
contents : read
20
20
deployments : write
21
21
steps :
22
- - uses : actions/checkout@v3
22
+ - uses : actions/checkout@v4
23
23
with :
24
24
ref : " ${{ github.event.pull_request.merge_commit_sha }}"
25
25
fetch-depth : 0
32
32
run : ./gradlew --no-daemon dokkaHtml dokkaJavadoc
33
33
- name : Copy javadoc subfolder
34
34
run : mv build/dokka/javadoc build/dokka/html/ && cp dokka/includes/404.html build/dokka/html/
35
- - uses : actions/upload-pages-artifact@v1
35
+ - uses : actions/upload-pages-artifact@v3
36
36
with :
37
37
path : ' build/dokka/html'
38
38
- uses : cloudflare/pages-action@v1
Original file line number Diff line number Diff line change 16
16
contents : read
17
17
deployments : write
18
18
steps :
19
- - uses : actions/checkout@v3
19
+ - uses : actions/checkout@v4
20
20
with :
21
21
fetch-depth : 0
22
22
- uses : actions/setup-java@v4
28
28
run : ./gradlew --no-daemon dokkaHtml dokkaJavadoc
29
29
- name : Copy javadoc subfolder
30
30
run : mv build/dokka/javadoc build/dokka/html/ && cp dokka/includes/404.html build/dokka/html/
31
- - uses : actions/upload-pages-artifact@v1
31
+ - uses : actions/upload-pages-artifact@v3
32
32
with :
33
33
path : ' build/dokka/html'
34
34
- uses : cloudflare/pages-action@v1
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ jobs:
20
20
runs-on : ubuntu-latest
21
21
steps :
22
22
- name : Checkout
23
- uses : actions/checkout@v3
23
+ uses : actions/checkout@v4
24
24
25
25
- name : Download Artifacts
26
- uses : actions/download-artifact@v3
26
+ uses : actions/download-artifact@v4
27
27
with :
28
28
name : Lavalink-Client.zip
29
29
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import reactor.util.retry.Retry
29
29
import java.io.Closeable
30
30
import java.io.IOException
31
31
import java.time.Duration
32
- import java.util.*
32
+ import java.util.Collections
33
33
import java.util.concurrent.ConcurrentHashMap
34
34
import java.util.concurrent.TimeUnit
35
35
import java.util.function.Consumer
You can’t perform that action at this time.
0 commit comments