-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (39 loc) · 965 Bytes
/
build-all.yaml
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
37
38
39
40
41
42
43
44
45
46
name: Build All
on:
push:
branches:
- master
tags:
- v*
env:
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}
jobs:
build:
runs-on: macos-latest
steps:
- run: |
ls /Library/Developer/CommandLineTools/
ls /Library/Developer/CommandLineTools/SDKs/
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '21'
distribution: 'adopt'
cache: 'gradle'
- name: Set up caching
uses: actions/cache@v3
with:
path: ~/.konan
key: ${{ runner.os }}-konan
- name: Gradle Build
uses: gradle/gradle-build-action@v2
with:
arguments: -Pproduction=true build
- name: Gradle Publish
uses: gradle/gradle-build-action@v2
with:
arguments: -Pproduction=true publish