Fix dependencies
This commit is contained in:
parent
0c3eb82d1b
commit
7301683d24
8
.github/workflows/tdapi_file.yaml
vendored
8
.github/workflows/tdapi_file.yaml
vendored
@ -29,17 +29,21 @@ jobs:
|
||||
submodules: "recursive"
|
||||
- name: Setup Java (Snapshot)
|
||||
if: github.ref != 'refs/heads/master'
|
||||
uses: actions/setup-java@v1
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 17
|
||||
distribution: temurin
|
||||
cache: maven
|
||||
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: 17
|
||||
distribution: temurin
|
||||
cache: maven
|
||||
server-id: mchv-release-distribution
|
||||
server-username: MAVEN_USERNAME
|
||||
server-password: MAVEN_PASSWORD
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash -e
|
||||
set -e
|
||||
|
||||
export MAVEN_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/javax.crypto=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED"
|
||||
export MAVEN_OPTS=""
|
||||
|
||||
echo "MATRIX_OS: $GH_MATRIX_OS"
|
||||
echo "MATRIX_ARCH: $GH_MATRIX_ARCH"
|
||||
|
Loading…
Reference in New Issue
Block a user