8
8
- ' *' # Push events to matching *, i.e. 1.0, 20.15.10
9
9
10
10
jobs :
11
- build :
12
- strategy :
13
- matrix :
14
- os : [ macos-11, ubuntu-latest ]
15
- fail-fast : false
16
- runs-on : ${{ matrix.os }}
11
+ # build:
12
+ # strategy:
13
+ # matrix:
14
+ # os: [ macos-11, ubuntu-latest ]
15
+ # fail-fast: false
16
+ # runs-on: ${{ matrix.os }}
17
17
18
- steps :
19
- - uses : actions/checkout@v2
20
- - uses : actions/setup-java@v2
21
- with :
22
- distribution : ' adopt'
23
- java-version : 8
24
- - uses : actions/cache@v2
25
- with :
26
- path : |
27
- ~/.gradle/caches/modules-2
28
- ~/.gradle/wrapper
29
- ~/.konan
30
- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/gradle.properties') }}
31
- restore-keys : ${{ runner.os }}-gradle-
32
- - name : Check full project builds
33
- uses : gradle/gradle-build-action@v1
34
- with :
35
- arguments : build -PskipTests --scan --info
36
- distributions-cache-enabled : false
37
- dependencies-cache-enabled : false
38
- configuration-cache-enabled : false
18
+ # steps:
19
+ # - uses: actions/checkout@v2
20
+ # - uses: actions/setup-java@v2
21
+ # with:
22
+ # distribution: 'adopt'
23
+ # java-version: 8
24
+ # - uses: actions/cache@v2
25
+ # with:
26
+ # path: |
27
+ # ~/.gradle/caches/modules-2
28
+ # ~/.gradle/wrapper
29
+ # ~/.konan
30
+ # key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/gradle.properties') }}
31
+ # restore-keys: ${{ runner.os }}-gradle-
32
+ # - name: Check full project builds
33
+ # uses: gradle/gradle-build-action@v1
34
+ # with:
35
+ # arguments: build -PskipTests --scan --info
36
+ # distributions-cache-enabled: false
37
+ # dependencies-cache-enabled: false
38
+ # configuration-cache-enabled: false
39
39
40
40
publish :
41
41
# needs: [ build ]
@@ -46,21 +46,13 @@ jobs:
46
46
with :
47
47
distribution : ' adopt'
48
48
java-version : 8
49
- - uses : actions/cache@v2
50
- with :
51
- path : |
52
- ~/.gradle/caches/modules-2
53
- ~/.gradle/wrapper
54
- ~/.konan
55
- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/gradle.properties') }}
56
- restore-keys : ${{ runner.os }}-gradle-
57
49
- name : Set TAG_NAME for publication
58
50
run : echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
59
51
shell : bash
60
52
- name : Publish Packages to Sonotype (version ${{ env.TAG_NAME }})
61
53
uses : gradle/gradle-build-action@v1
62
54
with :
63
- arguments : publishAllPublicationsToSonatypeRepository -Pversion=${{ env.TAG_NAME }} --info --no-daemon
55
+ arguments : publishAllPublicationsToSonatypeRepository -Pversion=${{ env.TAG_NAME }} --info
64
56
distributions-cache-enabled : false
65
57
dependencies-cache-enabled : false
66
58
configuration-cache-enabled : false
0 commit comments