Set version to 0.6.1 (#38)
* Set version to 0.6.1 * Don't set up Android CI env on windows It's useless as we just run Android CI checks on Android.
This commit is contained in:
parent
2ae6abcf93
commit
050cc83dd0
49
.github/workflows/snapshot.yml
vendored
49
.github/workflows/snapshot.yml
vendored
@ -38,11 +38,13 @@ jobs:
|
|||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
|
||||||
restore-keys: ${{ runner.os }}-gradle-
|
restore-keys: ${{ runner.os }}-gradle-
|
||||||
- name: Android environment
|
- name: Android environment
|
||||||
|
if: matrix.os != 'windows-latest'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "ANDROID_HOME=$ANDROID_HOME" >> $GITHUB_ENV
|
echo "ANDROID_HOME=$ANDROID_HOME" >> $GITHUB_ENV
|
||||||
echo "ANDROID_NDK_VERSION=21.4.7075529" >> $GITHUB_ENV
|
echo "ANDROID_NDK_VERSION=21.4.7075529" >> $GITHUB_ENV
|
||||||
- name: Cached Android NDK
|
- name: Cached Android NDK
|
||||||
|
if: matrix.os != 'windows-latest'
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ${{ format('{0}/ndk/{1}', env.ANDROID_HOME, env.ANDROID_NDK_VERSION) }}
|
path: ${{ format('{0}/ndk/{1}', env.ANDROID_HOME, env.ANDROID_NDK_VERSION) }}
|
||||||
@ -61,11 +63,6 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
$ANDROID_HOME/tools/bin/sdkmanager "ndk;$ANDROID_NDK_VERSION"
|
$ANDROID_HOME/tools/bin/sdkmanager "ndk;$ANDROID_NDK_VERSION"
|
||||||
- name: Setup Android
|
|
||||||
if: matrix.os == 'windows-latest'
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
$ANDROID_HOME\\tools\\bin\\sdkmanager.bat "ndk;$ANDROID_NDK_VERSION"
|
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
@ -96,27 +93,15 @@ jobs:
|
|||||||
script: ./gradlew connectedCheck
|
script: ./gradlew connectedCheck
|
||||||
- name: Publish Linux
|
- name: Publish Linux
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
env:
|
|
||||||
BINTRAY_USER: ${{ secrets.bintray_user }}
|
|
||||||
BINTRAY_APIKEY: ${{ secrets.bintray_apikey }}
|
|
||||||
shell: bash
|
shell: bash
|
||||||
# ./gradlew publishLinuxPublicationToBintrayRepository :jni:jvm:linux:publishJvmPublicationToBintrayRepository -PsnapshotNumber=${{ github.run_number }} -PgitRef=${{ github.ref }}
|
|
||||||
run: ./gradlew publishLinuxPublicationToMavenLocal :jni:jvm:linux:publishJvmPublicationToMavenLocal -PsnapshotNumber=${{ github.run_number }} -PgitRef=${{ github.ref }}
|
run: ./gradlew publishLinuxPublicationToMavenLocal :jni:jvm:linux:publishJvmPublicationToMavenLocal -PsnapshotNumber=${{ github.run_number }} -PgitRef=${{ github.ref }}
|
||||||
- name: Publish Windows
|
- name: Publish Windows
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
env:
|
|
||||||
BINTRAY_USER: ${{ secrets.bintray_user }}
|
|
||||||
BINTRAY_APIKEY: ${{ secrets.bintray_apikey }}
|
|
||||||
shell: bash
|
shell: bash
|
||||||
# ./gradlew :jni:jvm:mingw:publishJvmPublicationToBintrayRepository -PsnapshotNumber=${{ github.run_number }} -PgitRef=${{ github.ref }}
|
|
||||||
run: ./gradlew :jni:jvm:mingw:publishToMavenLocal -PsnapshotNumber=${{ github.run_number }} -PgitRef=${{ github.ref }}
|
run: ./gradlew :jni:jvm:mingw:publishToMavenLocal -PsnapshotNumber=${{ github.run_number }} -PgitRef=${{ github.ref }}
|
||||||
- name: Publish MacOS
|
- name: Publish MacOS
|
||||||
if: matrix.os == 'macOS-latest'
|
if: matrix.os == 'macOS-latest'
|
||||||
env:
|
|
||||||
BINTRAY_USER: ${{ secrets.bintray_user }}
|
|
||||||
BINTRAY_APIKEY: ${{ secrets.bintray_apikey }}
|
|
||||||
shell: bash
|
shell: bash
|
||||||
# ./gradlew publish -PsnapshotNumber=${{ github.run_number }} -PgitRef=${{ github.ref }}
|
|
||||||
run: ./gradlew publishToMavenLocal -PsnapshotNumber=${{ github.run_number }} -PgitRef=${{ github.ref }}
|
run: ./gradlew publishToMavenLocal -PsnapshotNumber=${{ github.run_number }} -PgitRef=${{ github.ref }}
|
||||||
- name: Copy artifact files
|
- name: Copy artifact files
|
||||||
run: |
|
run: |
|
||||||
@ -129,34 +114,4 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
maven-local
|
maven-local
|
||||||
!maven-local/**/maven-metadata-local.xml
|
!maven-local/**/maven-metadata-local.xml
|
||||||
# - name: Discard
|
|
||||||
# if: ${{ failure() || cancelled() }}
|
|
||||||
# env:
|
|
||||||
# BINTRAY_USER: ${{ secrets.bintray_user }}
|
|
||||||
# BINTRAY_APIKEY: ${{ secrets.bintray_apikey }}
|
|
||||||
# run: ./gradlew postBintrayDiscard -PsnapshotNumber=${{ github.run_number }} -PgitRef=${{ github.ref }}
|
|
||||||
|
|
||||||
# publish:
|
|
||||||
# name: Publish
|
|
||||||
# needs: upload
|
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
# steps:
|
|
||||||
# - name: Check out
|
|
||||||
# uses: actions/checkout@v2
|
|
||||||
# with:
|
|
||||||
# submodules: 'true'
|
|
||||||
# - name: Cached Gradle
|
|
||||||
# uses: actions/cache@v2
|
|
||||||
# with:
|
|
||||||
# path: ~/.gradle
|
|
||||||
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
|
|
||||||
# restore-keys: ${{ runner.os }}-gradle-
|
|
||||||
# - name: Set up JDK 11
|
|
||||||
# uses: actions/setup-java@v1
|
|
||||||
# with:
|
|
||||||
# java-version: 11
|
|
||||||
# - name: Publish
|
|
||||||
# env:
|
|
||||||
# BINTRAY_USER: ${{ secrets.bintray_user }}
|
|
||||||
# BINTRAY_APIKEY: ${{ secrets.bintray_apikey }}
|
|
||||||
# run: ./gradlew postBintrayPublish -PsnapshotNumber=${{ github.run_number }} -PgitRef=${{ github.ref }}
|
|
||||||
|
@ -22,7 +22,7 @@ buildscript {
|
|||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
group = "fr.acinq.secp256k1"
|
group = "fr.acinq.secp256k1"
|
||||||
version = "0.6.1-SNAPSHOT"
|
version = "0.6.1"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user