-
Notifications
You must be signed in to change notification settings - Fork 860
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix examples build * Publish main repo artifacts locally * Sync builds * Fix init script? * Fix publishing of agent-for-testing
- Loading branch information
Showing
5 changed files
with
27 additions
and
25 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 |
---|---|---|
@@ -1,10 +1,6 @@ | ||
addListener(object : BuildAdapter() { | ||
override fun projectsEvaluated(gradle: Gradle) { | ||
gradle.rootProject { | ||
repositories { | ||
mavenLocal() | ||
removeIf { it.name == "sonatype" } | ||
} | ||
} | ||
allprojects { | ||
repositories { | ||
mavenLocal() | ||
removeIf { it.name == "sonatype" } | ||
} | ||
}) | ||
} |
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 |
---|---|---|
|
@@ -48,8 +48,8 @@ jobs: | |
- 11 | ||
- 15 | ||
vm: | ||
- hotspot | ||
- openj9 | ||
- hotspot | ||
- openj9 | ||
fail-fast: false | ||
steps: | ||
- uses: actions/[email protected] | ||
|
@@ -192,12 +192,15 @@ jobs: | |
path: ~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-wrapper-cache-${{ hashFiles('examples/distro/gradle/wrapper/gradle-wrapper.properties') }} | ||
|
||
- name: Local publish | ||
run: ./gradlew publishToMavenLocal | ||
|
||
- name: Build distro | ||
run: ./gradlew build | ||
run: ./gradlew build --init-script ../../.github/scripts/local.init.gradle.kts | ||
working-directory: examples/distro | ||
|
||
- name: Build extension | ||
run: ./gradlew build | ||
run: ./gradlew build --init-script ../../.github/scripts/local.init.gradle.kts | ||
working-directory: examples/extension | ||
|
||
snapshot: | ||
|
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 |
---|---|---|
|
@@ -54,8 +54,8 @@ jobs: | |
- 11 | ||
- 15 | ||
vm: | ||
- hotspot | ||
- openj9 | ||
- hotspot | ||
- openj9 | ||
fail-fast: false | ||
steps: | ||
- uses: actions/[email protected] | ||
|
@@ -233,12 +233,15 @@ jobs: | |
path: ~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-wrapper-cache-${{ hashFiles('examples/distro/gradle/wrapper/gradle-wrapper.properties') }} | ||
|
||
- name: Local publish | ||
run: ./gradlew publishToMavenLocal | ||
|
||
- name: Build distro | ||
run: ./gradlew build | ||
run: ./gradlew build --init-script ../../.github/scripts/local.init.gradle.kts | ||
working-directory: examples/distro | ||
|
||
- name: Build extension | ||
run: ./gradlew build | ||
run: ./gradlew build --init-script ../../.github/scripts/local.init.gradle.kts | ||
working-directory: examples/extension | ||
|
||
accept-pr: | ||
|
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