Skip to content

Commit

Permalink
fix publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
OroArmor committed Feb 21, 2021
1 parent 7417359 commit 248af29
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 36 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ jobs:
java-version: 1.11
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with gradle
run: ./gradlew build
- name: Upload to Bintray
run: ./gradlew bintrayUpload --parallel --stacktrace
env:
BINTRAY_USER: oroarmor
BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }}
- name: Deploy
run: .build/deploy.sh
env:
Expand Down
30 changes: 1 addition & 29 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ plugins {
id "maven"
id "signing"
id "maven-publish"
id 'com.jfrog.bintray' version "1.8.4"
id 'org.cadixdev.licenser' version '0.5.0'
}

Expand Down Expand Up @@ -179,31 +178,4 @@ uploadArchives {
}
}
}
}


publishing {
publications {
maven(MavenPublication) {

}
}
}


bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
publications = ["maven"]
publish = true
pkg {
repo = 'oroarmor'
name = project.archives_base_name
userOrg = "oroarmor"
licenses = ['CC0-1.0']
vcsUrl = 'https://github.com/OroArmor/NeuralNetwork.git'
version {
name = project.version
}
}
}
}

0 comments on commit 248af29

Please sign in to comment.