Use free runner for Draft PRs (#1739)
This commit is contained in:
2
.github/workflows/android-ci.yml
vendored
2
.github/workflows/android-ci.yml
vendored
@@ -44,7 +44,7 @@ jobs:
|
||||
"!**/*.md"]
|
||||
|
||||
android-build:
|
||||
runs-on: MapLibre_Native_Linux_16_core
|
||||
runs-on: ${{ github.event.pull_request && !github.event.pull_request.draft && 'MapLibre_Native_Linux_16_core' || 'ubuntu-22.04' }}
|
||||
needs:
|
||||
- pre_job
|
||||
if: needs.pre_job.outputs.should_skip != 'true'
|
||||
|
||||
2
.github/workflows/linux-ci.yml
vendored
2
.github/workflows/linux-ci.yml
vendored
@@ -46,7 +46,7 @@ jobs:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
renderer: [legacy, drawable]
|
||||
runs-on: MapLibre_Native_Linux_16_core
|
||||
runs-on: ${{ github.event.pull_request && !github.event.pull_request.draft && 'MapLibre_Native_Linux_16_core' || 'ubuntu-22.04' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user