Skip to content

Commit b99e473

Browse files
feat: add runner selection with ubuntu-ltqa as default
1 parent 3867fda commit b99e473

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/android-test.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@ name: Android Test
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
runner:
7+
description: 'Runner to use'
8+
required: true
9+
default: 'ubuntu-ltqa'
10+
type: choice
11+
options:
12+
- ubuntu-ltqa
13+
- ubuntu
14+
- ubuntu-latest
515
schedule:
616
- cron: '0 */2 * * *' # Runs every 2 hours (at minute 0)
717
timezone: 'Asia/Kolkata'
@@ -13,7 +23,7 @@ env:
1323

1424
jobs:
1525
test:
16-
runs-on: ubuntu
26+
runs-on: ${{ github.event.inputs.runner || 'ubuntu-ltqa' }}
1727

1828
steps:
1929
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)