Skip to content

Commit 23b53a8

Browse files
author
Szczepan Faber
committed
Fixed CI bugs
1 parent 5624a10 commit 23b53a8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- name: 3. Build with Kotlin ${{ matrix.kotlin }} and mock-maker ${{ matrix.mock-maker }}
6666
run: |
6767
ops/mockMakerInline.sh
68-
./gradlew build bintrayUpload idea -PbintrayDryRun
68+
./gradlew build bintrayUpload -PbintrayDryRun
6969
env:
7070
KOTLIN_VERSION: ${{ matrix.kotlin }}
7171
MOCK_MAKER: ${{ matrix.mock-maker }}
@@ -96,8 +96,8 @@ jobs:
9696

9797
- name: Build and publish to Bintray/MavenCentral
9898
run: ./gradlew tasks # TODO, in progress: bintrayUpload githubRelease
99-
# env:
100-
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
99+
env:
100+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
101101
# BINTRAY_API_KEY: ${{secrets.BINTRAY_API_KEY}}
102102
# NEXUS_TOKEN_USER: ${{secrets.NEXUS_TOKEN_USER}}
103103
# NEXUS_TOKEN_PWD: ${{secrets.NEXUS_TOKEN_PWD}}

gradle/publishing.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ task sourceJar(type: Jar) {
1414

1515
publishing {
1616
publications {
17-
mavenJava(MavenPublication) {
17+
javaLibrary(MavenPublication) {
1818
artifactId 'mockito-kotlin'
1919

2020
from components.java
@@ -75,7 +75,7 @@ bintray {
7575
publish = false //can be changed to 'false' for testing
7676
dryRun = project.hasProperty('bintrayDryRun')
7777

78-
publications = ['mavenJava']
78+
publications = ['javaLibrary']
7979

8080
pkg {
8181
repo = 'test' //https://bintray.com/mockito/maven // TODO change to 'maaven' when CI ready

0 commit comments

Comments
 (0)