-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* merge Signed-off-by: achmelo <[email protected]>
- Loading branch information
Showing
12 changed files
with
625 additions
and
445 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 |
---|---|---|
|
@@ -19,6 +19,11 @@ jobs: | |
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Set up Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14' | ||
- run: npm install -g [email protected] | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
- name: Cache Gradle packages | ||
|
@@ -27,17 +32,16 @@ jobs: | |
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle001-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle001- | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
|
||
- name: Cache Node.js modules | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.npm | ||
key: ${{ runner.OS }}-node001-${{ hashFiles('**/package-lock.json, **/package.json') }} | ||
restore-keys: | | ||
${{ runner.OS }}-node001- | ||
**/node_modules | ||
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json', '**/package.json') }} | ||
|
||
- name: Build with Gradle | ||
run: > | ||
./gradlew build runStartUpCheck --info -Partifactory_user=${{ secrets.ARTIFACTORY_USERNAME }} -Partifactory_password=${{ secrets.ARTIFACTORY_PASSWORD }} | ||
|
@@ -75,17 +79,16 @@ jobs: | |
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle001-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle001- | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
|
||
- name: Cache Node.js modules | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.npm | ||
key: ${{ runner.OS }}-node001-${{ hashFiles('**/package-lock.json, **/package.json') }} | ||
restore-keys: | | ||
${{ runner.OS }}-node001- | ||
**/node_modules | ||
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json', '**/package.json') }} | ||
|
||
- name: Build with Gradle | ||
run: > | ||
./gradlew --info coverage sonarqube | ||
|
Large diffs are not rendered by default.
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
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
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
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 |
---|---|---|
|
@@ -33,7 +33,8 @@ jobs: | |
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14' | ||
- run: npm install -g [email protected] | ||
- run: npm install -g [email protected] | ||
|
||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
- name: Cache Gradle packages | ||
|
@@ -43,18 +44,19 @@ jobs: | |
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
|
||
- name: Cache Node.js modules | ||
id: node-cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.npm | ||
**/node_modules | ||
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json, **/package.json') }} | ||
restore-keys: | | ||
${{ runner.OS }}-node- | ||
${{ runner.OS }}- | ||
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json', '**/package.json') }} | ||
|
||
- name: Print npm version | ||
run: npm -v | ||
|
||
- name: Build with Gradle | ||
run: ./gradlew build | ||
|
||
|
@@ -126,17 +128,15 @@ jobs: | |
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle001-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle001- | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
|
||
- name: Cache Node.js modules | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.npm | ||
key: ${{ runner.OS }}-node001-${{ hashFiles('**/package-lock.json, **/package.json') }} | ||
restore-keys: | | ||
${{ runner.OS }}-node001- | ||
**/node_modules | ||
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json', '**/package.json') }} | ||
|
||
- uses: zowe-actions/shared-actions/prepare-workflow@main | ||
|
||
|
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.