Use free runner for Draft PRs (#1739)

This commit is contained in:
Bart Louwers
2023-10-07 10:14:16 +02:00
committed by GitHub
parent 7cdac9e4cd
commit c361a04738
2 changed files with 2 additions and 2 deletions

View File

@@ -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'

View File

@@ -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: