diff --git a/.github/workflows/platform_natives.yaml b/.github/workflows/platform_natives.yaml index 5540379..89d5ecf 100644 --- a/.github/workflows/platform_natives.yaml +++ b/.github/workflows/platform_natives.yaml @@ -136,17 +136,19 @@ jobs: - name: Setup Java (Snapshot) if: github.ref == 'refs/heads/develop' - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: 11 + distribution: temurin server-id: mchv-snapshot-distribution server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD - name: Setup Java (Release) if: github.ref == 'refs/heads/master' - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: 11 + distribution: temurin server-id: mchv-release-distribution server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD diff --git a/.github/workflows/tdapi_file.yaml b/.github/workflows/tdapi_file.yaml index 0050a16..ce2cbfc 100644 --- a/.github/workflows/tdapi_file.yaml +++ b/.github/workflows/tdapi_file.yaml @@ -33,7 +33,6 @@ jobs: with: java-version: 17 distribution: temurin - cache: maven server-id: mchv-snapshot-distribution server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD @@ -43,7 +42,6 @@ jobs: with: java-version: 17 distribution: temurin - cache: maven server-id: mchv-release-distribution server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD