-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
36 lines (30 loc) · 756 Bytes
/
build-cli-tools.yml
File metadata and controls
36 lines (30 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
name: Build - CLI Tools
on:
push:
branches:
- main
paths:
- 'cli/**'
pull_request:
paths:
- 'cli/**'
permissions:
contents: read
concurrency:
group: cli-tools-ci-${{ github.ref }}-${{ github.event.pull_request.number || 'no-pr' }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
build-cli-tools:
name: Build CLI tools
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout the repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 1
- name: Setup Gradle environment
uses: ./.github/actions/setup-gradle
- name: Build CLI tools
run: ./gradlew buildCliTools