File tree 5 files changed +63
-0
lines changed
5 files changed +63
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will build a Java project with Maven and bundle them as native app installers with jDeploy
2
+ # See https://www.jdeploy.com for more information.
3
+
4
+ name : jDeploy CI with Maven
5
+
6
+ on :
7
+ push :
8
+ # TODO: only deploy on pushes to develop branch
9
+ branches : ['*']
10
+
11
+ jobs :
12
+ build :
13
+
14
+ runs-on : ubuntu-latest
15
+
16
+ steps :
17
+ - uses : actions/checkout@v3
18
+ - name : Set up JDK 22
19
+ uses : actions/setup-java@v3
20
+ with :
21
+ java-version : ' 22'
22
+ distribution : ' temurin'
23
+ cache : maven
24
+ - name : Build with Maven
25
+ run : mvn -B package --file pom.xml
26
+ - name : Set RELEASE_VERSION env variable
27
+ run : |
28
+ echo "RELEASE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
29
+
30
+ - name : Build App Installer Bundles
31
+ uses : shannah/jdeploy@master
32
+ with :
33
+ github_token : ${{ github.token }}
34
+ jdeploy_version : ${{ env.RELEASE_VERSION }}
Original file line number Diff line number Diff line change
1
+ {
2
+ "bin" : {"AndroidDeviceManager" : " jdeploy-bundle/jdeploy.js" },
3
+ "author" : " Joe Page" ,
4
+ "description" : " Java desktop app to manage multiple Android devices via adb" ,
5
+ "main" : " index.js" ,
6
+ "preferGlobal" : true ,
7
+ "repository" : " " ,
8
+ "version" : " 1.0.1" ,
9
+ "jdeploy" : {
10
+ "jdk" : false ,
11
+ "javaVersion" : " 17" ,
12
+ "documentTypes" : [{"extension" : " apk" }],
13
+ "jar" : " target/AndroidDeviceManager.jar" ,
14
+ "javafx" : false ,
15
+ "title" : " AndroidDeviceManager"
16
+ },
17
+ "dependencies" : {
18
+ "command-exists-promise" : " ^2.0.2" ,
19
+ "node-fetch" : " 2.6.7" ,
20
+ "tar" : " ^4.4.8" ,
21
+ "yauzl" : " ^2.10.0" ,
22
+ "shelljs" : " ^0.8.4"
23
+ },
24
+ "license" : " ISC" ,
25
+ "name" : " android-device-manager" ,
26
+ "files" : [" jdeploy-bundle" ],
27
+ "scripts" : {"test" : " echo \" Error: no test specified\" && exit 1" },
28
+ "homepage" : " "
29
+ }
You can’t perform that action at this time.
0 commit comments