-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat[build]: git workflow add for setup
- Loading branch information
1 parent
3fc32b1
commit b24cc8f
Showing
2 changed files
with
42 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
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,23 +1,28 @@ | ||
name: Setup Workflow CI | ||
name: Setup Workflow CI | ||
|
||
on: workflow_call | ||
jobs: | ||
setup_java: | ||
runs-on: macos-latest | ||
on: workflow_call | ||
jobs: | ||
setup_java: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: setup JDK 19 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '19' | ||
distribution: 'corretto' | ||
cache: 'gradle' | ||
# cache-dependency-path: | # optional | ||
# sub-project/*.gradle* | ||
# sub-project/**/gradle-wrapper.properties | ||
- name: setup JDK 19 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '19' | ||
distribution: 'corretto' | ||
cache: 'gradle' | ||
# cache-dependency-path: | # optional | ||
# sub-project/*.gradle* | ||
# sub-project/**/gradle-wrapper.properties | ||
|
||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
- name: Build with Gradle | ||
run: ./gradlew buildDebug --console=plain | ||
env: | ||
CLIENT_ID: ${{ secrets.CLIENT_ID }} |