Skip to content

Commit afc0822

Browse files
authored
Merge pull request #393 from mockito/mockitoguy-patch-1
Cleaned up the CI script
2 parents f7db6a6 + 70b50c4 commit afc0822

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
java-version: ${{ matrix.java }}
4545

4646
- name: 3. Build on Java ${{ matrix.java }}
47-
run: ./gradlew build bintrayUpload --scan -PbintrayDryRun
47+
run: ./build.sh
4848

4949
#
5050
# Release job, only for pushes to the main development branch
@@ -72,10 +72,7 @@ jobs:
7272
java-version: 8
7373

7474
- name: Build and publish to Bintray/MavenCentral
75-
run: ./gradlew build bintrayUpload githubRelease --scan
75+
run: ./gradlew # TODO fix the release build
7676
env:
77-
MAVEN_CENTRAL_RELEASE: ${{contains(toJSON(github.event.commits.*.message), '[ci maven-central-release]')}}
78-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
79-
BINTRAY_API_KEY: ${{secrets.BINTRAY_API_KEY}}
8077
NEXUS_TOKEN_USER: ${{secrets.NEXUS_TOKEN_USER}}
8178
NEXUS_TOKEN_PWD: ${{secrets.NEXUS_TOKEN_PWD}}

0 commit comments

Comments
 (0)