diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b338344..d31f80d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,18 +36,18 @@ jobs: echo Installing arm cross compilation packages sudo apt-get install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf + - name: Setup Java + uses: actions/setup-java@v4 + with: + distribution: 'zulu' + java-version: '8' + - name: Setup Java 21 uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '21' - - name: Setup Java - uses: actions/setup-java@v4 - with: - distribution: 'zulu' - java-version: '8' - - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d32929a..0abd258 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,18 +46,18 @@ jobs: echo Installing arm cross compilation packages sudo apt-get install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf - - name: Setup Java 21 - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '21' - - name: Setup Java 8 uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: '8' + - name: Setup Java 21 + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '21' + - name: Setup Gradle uses: gradle/actions/setup-gradle@v4