Fix java cache
This commit is contained in:
parent
7301683d24
commit
5fba011eee
6
.github/workflows/platform_natives.yaml
vendored
6
.github/workflows/platform_natives.yaml
vendored
@ -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
|
||||
|
2
.github/workflows/tdapi_file.yaml
vendored
2
.github/workflows/tdapi_file.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user