forked from kscience/kmath
Merge remote-tracking branch 'origin/master' into dev
# Conflicts: # README.md # kmath-ast/README.md # kmath-core/README.md # kmath-for-real/README.md # kmath-nd4j/README.md
This commit is contained in:
commit
0a733642dd
40
.github/workflows/publish.yml
vendored
Normal file
40
.github/workflows/publish.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
name: Bintray Publish
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types:
|
||||||
|
- created
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-on-windows:
|
||||||
|
runs-on: windows-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up JDK 11
|
||||||
|
uses: actions/setup-java@v1
|
||||||
|
with:
|
||||||
|
java-version: 11
|
||||||
|
- name: Grant execute permission for gradlew
|
||||||
|
run: chmod +x gradlew
|
||||||
|
- name: Gradle clean
|
||||||
|
run: ./gradlew clean
|
||||||
|
- name: Gradle build
|
||||||
|
run: ./gradlew build
|
||||||
|
- name: Run release task
|
||||||
|
run: ./gradlew release -PbintrayUser=${{ secrets.BINTRAY_USER }} -PbintrayApiKey=${{ secrets.BINTRAY_KEY }}
|
||||||
|
build-on-macos:
|
||||||
|
runs-on: macos-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up JDK 11
|
||||||
|
uses: actions/setup-java@v1
|
||||||
|
with:
|
||||||
|
java-version: 11
|
||||||
|
- name: Grant execute permission for gradlew
|
||||||
|
run: chmod +x gradlew
|
||||||
|
- name: Gradle clean
|
||||||
|
run: ./gradlew clean
|
||||||
|
- name: Gradle build
|
||||||
|
run: ./gradlew build
|
||||||
|
- name: Run release task
|
||||||
|
run: ./gradlew release -PbintrayUser=${{ secrets.BINTRAY_USER }} -PbintrayApiKey=${{ secrets.BINTRAY_KEY }}
|
1
docs/templates/README-TEMPLATE.md
vendored
1
docs/templates/README-TEMPLATE.md
vendored
@ -103,6 +103,7 @@ Release artifacts are accessible from bintray with following configuration (see
|
|||||||
```kotlin
|
```kotlin
|
||||||
repositories {
|
repositories {
|
||||||
maven("https://dl.bintray.com/mipt-npm/kscience")
|
maven("https://dl.bintray.com/mipt-npm/kscience")
|
||||||
|
// maven("https://dl.bintray.com/mipt-npm/dev") for dev versions
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
Loading…
Reference in New Issue
Block a user