-
Notifications
You must be signed in to change notification settings - Fork 35
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 #42 from lensesio/feat/scala-2.13-2
Scala 2.13 / SBT Upgrade (Updated)
- Loading branch information
Showing
54 changed files
with
3,226 additions
and
3,533 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 |
---|---|---|
|
@@ -4,20 +4,14 @@ on: [push] | |
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Setup Scala | ||
uses: olafurpg/setup-scala@v11 | ||
with: | ||
java-version: 1.8 | ||
- name: Download gradle | ||
run: ./gradlew --version | ||
- name: Run tests | ||
run: ./gradlew test | ||
- name: Run compile | ||
run: ./gradlew compile | ||
- name: Run build | ||
run: ./gradlew build | ||
java-version: [email protected] | ||
- name: Test | ||
run: sbt +test |
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 |
---|---|---|
|
@@ -11,32 +11,25 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Setup Scala | ||
uses: olafurpg/setup-scala@v11 | ||
with: | ||
java-version: 1.8 | ||
- shell: bash | ||
env: | ||
GRADLE_PROPERTIES: ${{ secrets.GRADLE_PROPERTIES }} | ||
SIGNING_GPG_KEY: ${{ secrets.SIGNING_GPG_KEY }} | ||
run: | | ||
base64 -d <<< "$SIGNING_GPG_KEY" > /tmp/secring.gpg | ||
echo "$GRADLE_PROPERTIES" > gradle.properties | ||
java-version: [email protected] | ||
- name: Get the tag | ||
id: get_tag | ||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | ||
- name: Build shadowJar for Github | ||
run: ./gradlew -Prelease -Pversion=${{ steps.get_tag.outputs.VERSION }} shadowJar | ||
- name: Assembly | ||
run: sbt +assembly | ||
env: | ||
LENSES_TAG_NAME: ${{ steps.get_tag.outputs.VERSION }} | ||
- name: Release to Github | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: build/libs/secret-provider-${{ steps.get_tag.outputs.VERSION }}-all.jar | ||
files: | | ||
target/scala-2.12/secret-provider_2.12-${{ steps.get_tag.outputs.VERSION }}-all.jar | ||
target/scala-2.13/secret-provider_2.13-${{ steps.get_tag.outputs.VERSION }}-all.jar | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Build and upload jar to nexus | ||
run: ./gradlew -Prelease -Pversion=${{ steps.get_tag.outputs.VERSION }} signArchives uploadArchives | ||
- name: Wait for nexus to settle | ||
run: sleep 30 | ||
- name: Release to nexus | ||
run: ./gradlew -Prelease -Pversion=${{ steps.get_tag.outputs.VERSION }} closeAndReleaseRepository | ||
LENSES_TAG_NAME: ${{ steps.get_tag.outputs.VERSION }} |
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 |
---|---|---|
|
@@ -11,3 +11,6 @@ | |
/build/ | ||
/.classpath | ||
/.project | ||
target/ | ||
/.bsp/ | ||
.DS_Store |
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,4 @@ | ||
-J-Xmx4G | ||
-J-Xms1024M | ||
-J-Xss2M | ||
-J-XX:MaxMetaspaceSize=2G |
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
Oops, something went wrong.