-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
CoolLoong
committed
Mar 11, 2024
1 parent
d70f2b3
commit 03f8558
Showing
2 changed files
with
28 additions
and
4 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 |
---|---|---|
|
@@ -2,21 +2,34 @@ name: Java CI with Gradle | |
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
branches: [ "master", "action" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
branches: [ "master", "action" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# support for ipv6 | ||
- name: Set up WARP | ||
uses: fscarmen/[email protected] | ||
with: | ||
stack: dual | ||
- uses: actions/checkout@v4 | ||
- run: chmod +x gradlew | ||
- uses: actions/setup-java@v4 | ||
with: | ||
java-version: '21' | ||
distribution: 'graalvm' | ||
cache: 'gradle' | ||
- run: gradle build | ||
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v3 | ||
with: | ||
gradle-version: wrapper | ||
cache-overwrite-existing: true | ||
build-scan-publish: true | ||
build-scan-terms-of-service-url: "https://gradle.com/terms-of-service" | ||
build-scan-terms-of-service-agree: "yes" | ||
arguments: build --scan | ||
- name: Upload Allay-API | ||
uses: actions/upload-artifact@v4 | ||
if: success() | ||
|
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