forked from AlmightyHak/extensions-source
Compare commits
22 commits
Author | SHA1 | Date | |
---|---|---|---|
b7826e016e | |||
7449e1eb74 | |||
03708116ff | |||
41f6097374 | |||
56b27d20eb | |||
ec65a3317f | |||
d9e55be893 | |||
b20a69b504 | |||
ae190cc371 | |||
ecfe891379 | |||
b29c4f9550 | |||
3c9526fb74 | |||
8c958b5d8f | |||
d0d8660b8b | |||
b172b25bb1 | |||
6b5807be97 | |||
0c6d703c39 | |||
92b54c9a55 | |||
3676197ea6 | |||
0d5077630d | |||
69dfe2b499 | |||
3b7284cbe5 |
3 changed files with 23 additions and 10 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: docker
|
||||
runs-on: ubuntu-22.04
|
||||
outputs:
|
||||
individualMatrix: ${{ steps.generate-matrices.outputs.individualMatrix }}
|
||||
steps:
|
||||
|
@ -49,7 +49,7 @@ jobs:
|
|||
build_individual:
|
||||
name: Build individual modules
|
||||
needs: prepare
|
||||
runs-on: docker
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
matrix: ${{ fromJSON(needs.prepare.outputs.individualMatrix) }}
|
||||
steps:
|
||||
|
|
20
.github/workflows/build_push.yml
vendored
20
.github/workflows/build_push.yml
vendored
|
@ -95,6 +95,11 @@ 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
|
||||
|
@ -111,8 +116,8 @@ jobs:
|
|||
run: chmod +x ./gradlew && ./gradlew -p src assembleRelease
|
||||
|
||||
- name: Upload APKs (chunk ${{ matrix.chunk }})
|
||||
uses: https://github.com/actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
|
||||
if: "github.repository == 'Kohi-den/extensions-source'"
|
||||
uses: https://code.forgejo.org/forgejo/upload-artifact@16871d9e8cfcf27ff31822cac382bbb5450f1e1e # v4-patch
|
||||
if: "github.repository == 'AlmightyHak/extensions-source'"
|
||||
with:
|
||||
name: "individual-apks-${{ matrix.chunk }}"
|
||||
path: "**/*.apk"
|
||||
|
@ -128,8 +133,12 @@ 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://github.com/actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4
|
||||
uses: https://code.forgejo.org/forgejo/download-artifact@d8d0a99033603453ad2255e58720b460a0555e1e # v4-patch
|
||||
with:
|
||||
path: ~/apk-artifacts
|
||||
|
||||
|
@ -139,6 +148,11 @@ 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 +0,0 @@
|
|||
sdk.dir = /workspace/AlmightyHak/extensions-source/SDK/
|
Loading…
Add table
Add a link
Reference in a new issue