You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
remove: ccache from workflows
This commit removes ccache since it doesn't provide any benefit in workflows, and makes them slower.
This commit is contained in:
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@@ -6,16 +6,11 @@ on:
|
|||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
merge_group:
|
merge_group:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
|
||||||
CCACHE_COMPILERCHECK: "%compiler% -dumpmachine; %compiler% -dumpversion"
|
|
||||||
CCACHE_NOHASHDIR: "true"
|
|
||||||
CCACHE_HARDLINK: "true"
|
|
||||||
CCACHE_BASEDIR: "${{ github.workspace }}"
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -31,23 +26,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@v4.2.1
|
uses: gradle/actions/setup-gradle@v4.2.1
|
||||||
with:
|
|
||||||
gradle-home-cache-cleanup: true
|
|
||||||
|
|
||||||
- name: Set up ccache
|
|
||||||
uses: hendrikmuhs/ccache-action@v1.2
|
|
||||||
with:
|
|
||||||
max-size: 2G
|
|
||||||
key: ${{ runner.os }}
|
|
||||||
restore-keys: ${{ runner.os }}
|
|
||||||
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
||||||
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: |
|
run: |
|
||||||
echo 'org.gradle.parallel=true' >> gradle.properties
|
echo 'org.gradle.parallel=true' >> gradle.properties
|
||||||
echo 'org.gradle.vfs.watch=true' >> gradle.properties
|
echo 'org.gradle.vfs.watch=true' >> gradle.properties
|
||||||
echo 'org.gradle.jvmargs=-Xmx2048m' >> gradle.properties
|
echo 'org.gradle.jvmargs=-Xmx2048m' >> gradle.properties
|
||||||
echo 'android.native.buildOutput=verbose' >> gradle.properties
|
|
||||||
sed -i 's/org.gradle.unsafe.configuration-cache=true//g' gradle.properties
|
sed -i 's/org.gradle.unsafe.configuration-cache=true//g' gradle.properties
|
||||||
./gradlew zipRelease
|
./gradlew zipRelease
|
||||||
./gradlew zipDebug
|
./gradlew zipDebug
|
||||||
|
|||||||
Reference in New Issue
Block a user