Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
837c1826ff | |||
e5e8761230 |
3 changed files with 10 additions and 23 deletions
4
.github/workflows/build_pull_request.yml
vendored
4
.github/workflows/build_pull_request.yml
vendored
|
@ -18,7 +18,7 @@ env:
|
|||
jobs:
|
||||
prepare:
|
||||
name: Prepare job
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: docker
|
||||
outputs:
|
||||
individualMatrix: ${{ steps.generate-matrices.outputs.individualMatrix }}
|
||||
steps:
|
||||
|
@ -49,7 +49,7 @@ jobs:
|
|||
build_individual:
|
||||
name: Build individual modules
|
||||
needs: prepare
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: docker
|
||||
strategy:
|
||||
matrix: ${{ fromJSON(needs.prepare.outputs.individualMatrix) }}
|
||||
steps:
|
||||
|
|
20
.github/workflows/build_push.yml
vendored
20
.github/workflows/build_push.yml
vendored
|
@ -95,11 +95,6 @@ jobs:
|
|||
java-version: 17
|
||||
distribution: temurin
|
||||
|
||||
- name: Set up Android SDK
|
||||
uses: https://github.com/android-actions/setup-android@00854ea68c109d98c75d956347303bf7c45b0277 # v3
|
||||
with:
|
||||
packages: ""
|
||||
|
||||
- name: Prepare signing key
|
||||
run: |
|
||||
echo ${{ secrets.SIGNING_KEY }} | base64 -d > signingkey.jks
|
||||
|
@ -116,8 +111,8 @@ jobs:
|
|||
run: chmod +x ./gradlew && ./gradlew -p src assembleRelease
|
||||
|
||||
- name: Upload APKs (chunk ${{ matrix.chunk }})
|
||||
uses: https://code.forgejo.org/forgejo/upload-artifact@16871d9e8cfcf27ff31822cac382bbb5450f1e1e # v4-patch
|
||||
if: "github.repository == 'AlmightyHak/extensions-source'"
|
||||
uses: https://github.com/actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
|
||||
if: "github.repository == 'Kohi-den/extensions-source'"
|
||||
with:
|
||||
name: "individual-apks-${{ matrix.chunk }}"
|
||||
path: "**/*.apk"
|
||||
|
@ -133,12 +128,8 @@ jobs:
|
|||
if: "github.repository == 'AlmightyHak/extensions-source'"
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Setup rsync
|
||||
run: |
|
||||
sudo apt-get update && sudo apt install rsync -y
|
||||
|
||||
- name: Download APK artifacts
|
||||
uses: https://code.forgejo.org/forgejo/download-artifact@d8d0a99033603453ad2255e58720b460a0555e1e # v4-patch
|
||||
uses: https://github.com/actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4
|
||||
with:
|
||||
path: ~/apk-artifacts
|
||||
|
||||
|
@ -148,11 +139,6 @@ jobs:
|
|||
java-version: 17
|
||||
distribution: temurin
|
||||
|
||||
- name: Set up Android SDK
|
||||
uses: https://github.com/android-actions/setup-android@00854ea68c109d98c75d956347303bf7c45b0277 # v3
|
||||
with:
|
||||
packages: "build-tools;34.0.0"
|
||||
|
||||
- name: Checkout main branch
|
||||
uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
|
||||
with:
|
||||
|
|
1
local.properties
Normal file
1
local.properties
Normal file
|
@ -0,0 +1 @@
|
|||
sdk.dir=/workspace/AlmightyHak/extensions-source/SDK
|
Loading…
Add table
Add a link
Reference in a new issue