-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from RADAR-base/release-1.1.2
Release 1.1.2
- Loading branch information
Showing
4 changed files
with
96 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Continuous integration, including test and integration test | ||
name: CI | ||
|
||
# Run in master and dev branches and in all pull requests to those branches | ||
on: | ||
push: | ||
branches: [ master, dev ] | ||
pull_request: | ||
branches: [ master, dev ] | ||
|
||
jobs: | ||
# Build and test the code | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
|
||
- name: Cache | ||
uses: actions/cache@v2.0.0 | ||
with: | ||
# Cache gradle directories | ||
path: | | ||
~/.gradle/caches/jars-3 | ||
~/.gradle/caches/modules-2/files-2.1/ | ||
~/.gradle/caches/modules-2/metadata-2.96/ | ||
~/.gradle/native | ||
~/.gradle/wrapper | ||
# Key for restoring and saving the cache | ||
key: ${{ runner.os }}-gradle | ||
|
||
# Compile the code | ||
- name: Compile code | ||
run: ./gradlew assemble | ||
|
||
# Gradle check | ||
- name: Check | ||
run: ./gradlew check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Create release files | ||
name: Release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
upload: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
|
||
- name: Cache | ||
uses: actions/cache@v2.0.0 | ||
with: | ||
# A list of files, directories, and wildcard patterns to cache and restore | ||
path: | | ||
~/.gradle/caches/jars-3 | ||
~/.gradle/caches/modules-2/files-2.1/ | ||
~/.gradle/caches/modules-2/metadata-2.96/ | ||
~/.gradle/native | ||
~/.gradle/wrapper | ||
# An explicit key for restoring and saving the cache | ||
key: ${{ runner.os }}-gradle | ||
|
||
# Compile code | ||
- name: Compile code | ||
run: ./gradlew assemble | ||
|
||
# Upload it to GitHub | ||
- name: Upload to GitHub | ||
uses: AButler/upload-release-assets@v2.0 | ||
with: | ||
files: 'build/libs/*;radar-spring-auth/build/libs/*' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# Upload to bintray | ||
- name: Upload to Bintray | ||
env: | ||
BINTRAY_USER: ${{ secrets.BINTRAY_USER }} | ||
BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }} | ||
run: ./gradlew bintrayUpload |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ plugins { | |
} | ||
|
||
group 'org.radarbase' | ||
version '1.1.1' | ||
version '1.1.2' | ||
|
||
sourceCompatibility = 1.8 | ||
|
||
|