Skip to content

Commit c3b8f93

Browse files
authored
Update gradle-release.yml
1 parent 088d173 commit c3b8f93

File tree

1 file changed

+28
-36
lines changed

1 file changed

+28
-36
lines changed

.github/workflows/gradle-release.yml

Lines changed: 28 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,34 @@ on:
88
- '*' # Push events to matching *, i.e. 1.0, 20.15.10
99

1010
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 }}
1717

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
3939

4040
publish:
4141
# needs: [ build ]
@@ -46,21 +46,13 @@ jobs:
4646
with:
4747
distribution: 'adopt'
4848
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-
5749
- name: Set TAG_NAME for publication
5850
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
5951
shell: bash
6052
- name: Publish Packages to Sonotype (version ${{ env.TAG_NAME }})
6153
uses: gradle/gradle-build-action@v1
6254
with:
63-
arguments: publishAllPublicationsToSonatypeRepository -Pversion=${{ env.TAG_NAME }} --info --no-daemon
55+
arguments: publishAllPublicationsToSonatypeRepository -Pversion=${{ env.TAG_NAME }} --info
6456
distributions-cache-enabled: false
6557
dependencies-cache-enabled: false
6658
configuration-cache-enabled: false

0 commit comments

Comments
 (0)