diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml
index c74e79e..08493c1 100644
--- a/.github/workflows/publish.yaml
+++ b/.github/workflows/publish.yaml
@@ -12,16 +12,16 @@ jobs:
 
     steps:
       - name: Check out the repo
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
 
       - name: Validate Gradle wrapper
-        uses: gradle/wrapper-validation-action@v1
+        uses: gradle/wrapper-validation-action@v3
 
-      - name: Set up Java 11 JDK
-        uses: actions/setup-java@v3
+      - name: Set up Java 17 JDK
+        uses: actions/setup-java@v4
         with:
           distribution: 'temurin'
-          java-version: 11
+          java-version: 17
           architecture: x64
           cache: 'gradle'
           check-latest: true