Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
128428ce51 |
2 changed files with 19 additions and 0 deletions
11
.github/workflows/build_pull_request.yml
vendored
11
.github/workflows/build_pull_request.yml
vendored
|
@ -75,6 +75,17 @@ jobs:
|
|||
with:
|
||||
cache-read-only: true
|
||||
|
||||
- name: Restore build cache
|
||||
uses: https://github.com/actions/cache/restore@v3
|
||||
with:
|
||||
path: |
|
||||
src/**/build
|
||||
!src/**/build/outputs
|
||||
key: build-cache-${{ github.event.pull_request.base.sha }}-${{ matrix.chunk }}
|
||||
restore-keys: |
|
||||
build-cache-${{ github.event.pull_request.base.sha }}-
|
||||
build-cache-
|
||||
|
||||
- name: Build extensions (chunk ${{ matrix.chunk }})
|
||||
env:
|
||||
CI_CHUNK_NUM: ${{ matrix.chunk }}
|
||||
|
|
8
.github/workflows/build_push.yml
vendored
8
.github/workflows/build_push.yml
vendored
|
@ -114,6 +114,14 @@ jobs:
|
|||
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
|
||||
run: chmod +x ./gradlew && ./gradlew -p src assembleRelease
|
||||
|
||||
- name: Cache build directories
|
||||
uses: https://github.com/actions/cache/save@v3
|
||||
with:
|
||||
path: |
|
||||
src/**/build
|
||||
!src/**/build/outputs
|
||||
key: build-cache-${{ github.sha }}-${{ matrix.chunk }}
|
||||
|
||||
- name: Upload APKs
|
||||
uses: https://code.forgejo.org/forgejo/upload-artifact@16871d9e8cfcf27ff31822cac382bbb5450f1e1e # v4-patch
|
||||
if: "github.repository == 'Kohi-den/extensions-source'"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue