-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (32 loc) · 841 Bytes
/
build-logic.yml
File metadata and controls
35 lines (32 loc) · 841 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
name: Buildscript
on:
push:
paths:
- '.github/workflows/build-logic.yml'
- 'build-logic/**'
pull_request:
paths:
- '.github/workflows/build-logic.yml'
- 'build-logic/**'
env:
TERM: dumb
jobs:
build-logic:
runs-on: ubuntu-latest
container:
image: ghcr.io/${{ github.repository }}:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: burrunan/gradle-cache-action@v1
name: build-logic
with:
debug: false
job-id: build-logic
read-only: ${{ github.ref != 'refs/heads/main' }}
build-root-directory: build-logic
gradle-dependencies-cache-key: |
gradle/libs.versions.toml
arguments: build