mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-23 13:42:25 -04:00
CI: Add sdk/ link stubs in build artifacts
This commit is contained in:
@@ -80,6 +80,7 @@ jobs:
|
||||
path: |
|
||||
build/install/Dusklight-*.AppImage
|
||||
build/install/debug.tar.*
|
||||
build/install/sdk/
|
||||
|
||||
build-apple:
|
||||
name: Build Apple (${{matrix.name}})
|
||||
@@ -148,6 +149,7 @@ jobs:
|
||||
path: |
|
||||
build/install/Dusklight.app
|
||||
build/install/debug.tar.*
|
||||
build/install/sdk/
|
||||
|
||||
build-android:
|
||||
name: Build Android (${{matrix.name}})
|
||||
@@ -210,11 +212,17 @@ jobs:
|
||||
working-directory: platforms/android
|
||||
run: ./gradlew :app:assembleRelease --rerun-tasks
|
||||
|
||||
- name: Stage artifacts
|
||||
run: |
|
||||
mkdir -p upload/sdk
|
||||
cp build/*/stub-android-*.so upload/sdk/
|
||||
cp platforms/android/app/build/outputs/apk/release/app-${{matrix.abi}}-release-unsigned.apk upload/
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: dusklight-${{env.DUSK_VERSION}}-android-${{matrix.artifact_arch}}
|
||||
path: platforms/android/app/build/outputs/apk/release/app-${{matrix.abi}}-release-unsigned.apk
|
||||
path: upload/
|
||||
|
||||
build-windows:
|
||||
name: Build Windows (${{matrix.name}})
|
||||
@@ -281,3 +289,4 @@ jobs:
|
||||
build/install/*.dll
|
||||
build/install/res/
|
||||
build/install/debug.7z
|
||||
build/install/sdk/
|
||||
|
||||
Reference in New Issue
Block a user