GitHub workflow: limit number of processors for reproducible builds

master
M66B 2 weeks ago
parent 235eb4d8d5
commit da15ff1eb9

@ -57,7 +57,7 @@ jobs:
- name: Check with Lint - name: Check with Lint
run: ./gradlew --no-daemon --max-workers=1 --no-build-cache --no-configuration-cache lintGithubRelease run: ./gradlew --no-daemon --max-workers=1 --no-build-cache --no-configuration-cache lintGithubRelease
- name: Build with Gradle - name: Build with Gradle
run: ./gradlew --no-daemon --max-workers=1 --no-build-cache --no-configuration-cache assembleGithubRelease assembleLargeRelease assemblePlayRelease run: ./gradlew --no-daemon --max-workers=1 -XX:ActiveProcessorCount=1 --no-build-cache --no-configuration-cache assembleGithubRelease assembleLargeRelease assemblePlayRelease
#https://docs.github.com/en/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds #https://docs.github.com/en/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds
#https://github.com/actions/attest-build-provenance #https://github.com/actions/attest-build-provenance
- name: Generate artifact attestation - name: Generate artifact attestation

Loading…
Cancel
Save