Skip to content

Commit

Permalink
copy jar to release zip file.
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwebrtc committed Jun 21, 2024
1 parent d452e49 commit f3dc148
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ffi-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,21 @@ jobs:
- os: ubuntu-20.04
platform: android
dylib: liblivekit_ffi.so
jar: libwebrtc.jar
target: aarch64-linux-android
name: ffi-android-arm64
buildargs: --no-default-features --features "rustls-tls-webpki-roots"
- os: ubuntu-20.04
platform: android
dylib: liblivekit_ffi.so
jar: libwebrtc.jar
target: armv7-linux-androideabi
name: ffi-android-armv7
buildargs: --no-default-features --features "rustls-tls-webpki-roots"
- os: ubuntu-20.04
platform: android
dylib: liblivekit_ffi.so
jar: libwebrtc.jar
target: x86_64-linux-android
name: ffi-android-x86_64
buildargs: --no-default-features --features "rustls-tls-webpki-roots"
Expand Down Expand Up @@ -165,12 +168,19 @@ jobs:

# zip the files
- name: Zip artifact (Unix)
if: ${{ matrix.os != 'windows-2019' }}
if: ${{ matrix.os != 'windows-2019' && matrix.platform != 'android'}}
run: |
cp livekit-ffi/include/livekit_ffi.h target/${{ matrix.target }}/release/
cd target/${{ matrix.target }}/release/
zip ${{ github.workspace }}/${{ matrix.name }}.zip ${{ matrix.dylib }} livekit_ffi.h LICENSE.md
- name: Zip artifact (Unix for Android)
if: ${{ matrix.os != 'windows-2019' && matrix.platform == 'android'}}
run: |
cp livekit-ffi/include/livekit_ffi.h target/${{ matrix.target }}/release/
cd target/${{ matrix.target }}/release/
zip ${{ github.workspace }}/${{ matrix.name }}.zip ${{ matrix.dylib }} ${{ matrix.jar }} livekit_ffi.h LICENSE.md
- name: Zip artifact (Windows)
if: ${{ matrix.os == 'windows-2019' }}
run: |
Expand Down

0 comments on commit f3dc148

Please sign in to comment.