ci: route jobs to the gradle and light runners
Gradle jobs now run on the dedicated gradle runner (one at a time, 8g cap) instead of the shared docker label, which let two Gradle builds run in parallel and run the VPS out of memory. Cheap gate, lint and deploy trigger jobs move to the light runner.
This commit is contained in:
1 parent
c0e0d6269d
commit
25f08d2a69
1 file changed
+2
-2
@@ -48,7 +48,7 @@ jobs:
|
||||
# secrets. repository_owner differs between the two forges regardless of
|
||||
# URL, proxy or instance rename, so this closes it permanently.
|
||||
if: github.repository_owner == 'makiolaj'
|
||||
runs-on: docker
|
||||
runs-on: light
|
||||
outputs:
|
||||
is_release: ${{ steps.v.outputs.is_release }}
|
||||
version: ${{ steps.v.outputs.version }}
|
||||
@@ -123,7 +123,7 @@ jobs:
|
||||
release:
|
||||
needs: detect
|
||||
if: needs.detect.outputs.is_release == 'true' || github.event_name == 'workflow_dispatch'
|
||||
runs-on: docker
|
||||
runs-on: gradle
|
||||
env:
|
||||
ANDROID_HOME: /opt/android-sdk
|
||||
ANDROID_SDK_ROOT: /opt/android-sdk
|
||||
|
||||
Reference in new issue
Block a user