Skip to content

Commit

Permalink
Use free runner for Draft PRs (#1739)
Browse files Browse the repository at this point in the history
  • Loading branch information
louwers authored Oct 7, 2023
1 parent 7cdac9e commit c361a04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c361a04

Please sign in to comment.