-
Notifications
You must be signed in to change notification settings - Fork 112
55 lines (44 loc) · 1.42 KB
/
fullPackageTestBuild.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Make Test Package
on:
workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: git clone -b ${GITHUB_REF_NAME} --recurse-submodules https://github.com/siavash79/PixelXpert.git .
name: Grab source code
- name: Setup JDK 18
uses: actions/setup-java@v3
with:
java-version: '18'
distribution: 'temurin'
cache: gradle
- name: Grant permission shell scripts
run: chmod +x .github/*.sh
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- uses: r0adkll/sign-android-release@v1
name: Sign app APK
id: sign_app
with:
releaseDirectory: app/build/outputs/apk/debug
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
env:
BUILD_TOOLS_VERSION: "33.0.0"
- uses: actions/upload-artifact@v2
name: Upload APK file
with:
name: PixelXpert.apk
path: ${{steps.sign_app.outputs.signedReleaseFile}}
- name: Run the zip script
run: .github/make_debug_zip.sh
- name: Upload Zip
uses: actions/upload-artifact@v2
with:
name: PixelXpert.zip
path: output