Просмотр исходного кода

main.yml: udate "actions/setup-java" to v3

Stephen Gold 3 лет назад
Родитель
Сommit
6c6aa44647
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      .github/workflows/main.yml

+ 4 - 4
.github/workflows/main.yml

@@ -89,7 +89,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [ubuntu-latest,windows-2019,macOS-latest]
-        jdk: [8.x.x,11.x.x]
+        jdk: [8, 11]
         include:
           - os: ubuntu-latest
             osName: linux
@@ -98,7 +98,7 @@ jobs:
             osName: windows
           - os: macOS-latest
             osName: mac
-          - jdk: 11.x.x
+          - jdk: 11
             deploy: false
 
     steps:
@@ -108,10 +108,10 @@ jobs:
           fetch-depth: 1
 
       - name: Setup the java environment
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v3
         with:
+          distribution: 'zulu'
           java-version: ${{ matrix.jdk }}
-          architecture: x64
 
       - name: Download natives for android
         uses: actions/download-artifact@master