Fix names

This commit is contained in:
Andrea Cavalli 2023-05-09 14:54:15 +02:00
parent c4f4855257
commit 1cdee0ea42
5 changed files with 12 additions and 8 deletions

View File

@ -25,7 +25,7 @@ jobs:
#- { os: macos-12, type: "macos-amd64" }
steps:
- name: Checkout current repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: "recursive"
@ -144,7 +144,7 @@ jobs:
if: matrix.os == 'windows-2019'
uses: lukka/get-cmake@latest
- name: Set up Maven
uses: stCarolas/setup-maven@v4.2
uses: stCarolas/setup-maven@v4.5
with:
maven-version: 3.8.2
- name: Setup NASM

View File

@ -88,5 +88,5 @@ CXXFLAGS="-stdlib=libc++" CC="$HOST_CMAKE_C_COMPILER" CXX="$HOST_CMAKE_CXX_COMPI
cmake --build . --target install --config Release "-j$(nproc)"
cd ..
mkdir -p src/main/resources/META-INF/tdlight-jni/
mv tdjni_bin/libtdjni.so src/main/resources/META-INF/tdlight-jni/libtdjni.linux-amd64-ssl3.so
mvn package -Dnative.type.classifier=linux-amd64-ssl3 -Drevision="$REVISION"
mv tdjni_bin/libtdjni.so src/main/resources/META-INF/tdlight-jni/libtdjni.linux-amd64-ssl1.so
mvn -B -f pom.xml -Drevision="$REVISION" -Dnative.type.classifier=linux-amd64-ssl1 package

View File

@ -89,4 +89,4 @@ cmake --build . --target install --config Release "-j$(nproc)"
cd ..
mkdir -p src/main/resources/META-INF/tdlight-jni/
mv tdjni_bin/libtdjni.so src/main/resources/META-INF/tdlight-jni/libtdjni.linux-amd64-ssl3.so
mvn package -Dnative.type.classifier=linux-amd64-ssl3 -Drevision="$REVISION"
mvn -B -f pom.xml -Drevision="$REVISION" -Dnative.type.classifier=linux-amd64-ssl3 package

View File

@ -80,5 +80,5 @@ cmake \
cmake --build . --target install --config Release "-j$(nproc)"
cd ..
mkdir -p src/main/resources/META-INF/tdlight-jni/
mv tdjni_bin/libtdjni.so src/main/resources/META-INF/tdlight-jni/libtdjni.linux-amd64-ssl3.so
mvn package -Dnative.type.classifier=linux-amd64-ssl3 -Drevision="$REVISION"
mv tdjni_bin/libtdjni.so src/main/resources/META-INF/tdlight-jni/libtdjni.linux-arm64-ssl1.so
mvn -B -f pom.xml -Drevision="$REVISION" -Dnative.type.classifier=linux-arm64-ssl1 package

View File

@ -26,7 +26,7 @@ jobs:
key: ${{ secrets.IG_SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.IG_KNOWN_HOSTS }}
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: "recursive"
- name: Setup Java (Snapshot)
@ -49,6 +49,10 @@ jobs:
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
cache: 'maven'
- name: Set up Maven
uses: stCarolas/setup-maven@v4.5
with:
maven-version: 3.8.2
- name: Setup variables
shell: bash
run: |