This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jade Carino <[email protected]>
- Loading branch information
1 parent
60d5d37
commit 4c1f247
Showing
4 changed files
with
94 additions
and
0 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,41 @@ | ||
name: Main build | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: [main] | ||
|
||
env: | ||
NAMESPACE: galasa-dev | ||
|
||
jobs: | ||
build-extensions: | ||
name: Build and test Extensions | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '11' | ||
distribution: 'semeru' | ||
|
||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
gradle-version: 6.9.2 | ||
|
||
- name: Test and Build Extensions using gradle | ||
env: | ||
GITHUB_ACTOR: ${{ github.actor }} | ||
GITHUB_TOKEN: ${{ github.token }} | ||
run: | | ||
gradle -x sign -b galasa-extensions-parent/build.gradle check publish --info \ | ||
-PsourceMaven=https://development.galasa.dev/main/maven-repo/framework \ | ||
-PcentralMaven=https://repo.maven.apache.org/maven2/ \ | ||
-PtargetMaven=https://maven.pkg.github.com/${{env.NAMESPACE}}/extensions/ \ | ||
-PjacocoEnabled=true \ | ||
-PisMainOrRelease=true |
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,36 @@ | ||
name: PR build | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: [main] | ||
|
||
env: | ||
NAMESPACE: galasa-dev | ||
|
||
jobs: | ||
build-extensions: | ||
name: Build, test and publish Extensions | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '11' | ||
distribution: 'semeru' | ||
|
||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
gradle-version: 6.9.2 | ||
|
||
- name: Test and Build Extensions using gradle | ||
run: | | ||
gradle -b galasa-extensions-parent/build.gradle clean build --scan \ | ||
-PsourceMaven=https://development.galasa.dev/main/maven-repo/framework \ | ||
-PcentralMaven=https://repo.maven.apache.org/maven2/ \ | ||
-PtargetMaven=https://maven.pkg.github.com/${{env.NAMESPACE}}/extensions/ |
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