-
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
55e9a4c
commit d2e33b2
Showing
3 changed files
with
58 additions
and
44 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,28 +1,28 @@ | ||
name: Setup Workflow CI | ||
|
||
on: workflow_call | ||
jobs: | ||
setup_java: | ||
runs-on: macos-latest | ||
|
||
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: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
- name: Build with Gradle | ||
run: ./gradlew buildDebug --console=plain | ||
env: | ||
CLIENT_ID: ${{ secrets.CLIENT_ID }} | ||
#on: workflow_call | ||
#jobs: | ||
# setup_java: | ||
# runs-on: macos-latest | ||
# | ||
# 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: Grant execute permission for gradlew | ||
# run: chmod +x gradlew | ||
# | ||
# - name: Build with Gradle | ||
# run: ./gradlew buildDebug --console=plain | ||
# env: | ||
# CLIENT_ID: ${{ secrets.CLIENT_ID }} |
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