Open Turiok opened 1 month ago
I forked it and added to .github/workflows a build.yml:
name: Build and deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
#- name: Setup Android SDK
# uses: android-actions/setup-android@v3
- name: Build SampleApplication
run: |
chmod +x ./gradlew
./gradlew --no-daemon build connectedCheck
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: my-artifact
path: |
./app/build/outputs/apk/debug/app-debug.apk
overwrite: true
Which worked for me. Might want to branch it change master to your branches name in the above.
Thanks @CeruleanSky - I have done the same using your build.yml above! Legend 🤩
May I ask what the usbip-4.4.x
repository is on your GitHub? Is this a client version of the USB/IP protocol to connect to the Android server? Does it run on windows, and if yes is it possible to get a build script for that one too? 🚀 ❤️
@shellycode
A bit off topic, but that git is for the usbip server tools from the linux kernel's 4.4.x source tree that is used in some Synology products. I thought it might be easier to get working than the android server, since whenever I connect to USBIPServerForAndroid on my Android OS 9 tv, it show up but when I hit attach, usbip-win2 just inserts the devices for a moment then ejects them. VirtualHere does work though.
Unfortunately Synology did some stuff with their included usbip modules that broke them in strange ways, maybe even to promote the Virtual Here product which Synology sells for their NAS as well , but of which I am trying to avoid since it is not a long term solution.
So I am not having much luck with either attempt.
@CeruleanSky Thanks for the reply I asked as I'm on the hunt for a Windows Client for the Android USB/IP to replace the virtualhere one.
Best of luck finding a solution 😄
Hi @cgutman and thank you for your work here.
I think, it'll be good to create the APK with github action. An official to playstore if it's possible. Otherwise maybe a not signed APK?