Update GitHub Action versions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b315cd0..db9cb2e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -33,7 +33,7 @@
     runs-on: ubuntu-latest
     steps:
     - name: Checkout
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
       with:
         fetch-depth: 1
     - name: Check Format
@@ -57,12 +57,12 @@
 
     steps:
       - name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         with:
           fetch-depth: 1
 
       - name: Setup java
-        uses: actions/setup-java@v3
+        uses: actions/setup-java@v4
         with:
           # specifies the OpenJdk that should be used; 'zulu' is the default for GitHub actions
           distribution: 'zulu'
@@ -76,7 +76,7 @@
       # Exports the TCK logs in case the build fails
       - name: Export TCK logs
         if: ${{ failure() }}
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: tck-logs-jdk-${{ matrix.java }}
           retention-days: 14