Skip to content

Commit

Permalink
make CI scripts for android & springboot
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisWooyeol committed Nov 18, 2023
1 parent 1145323 commit ee826fe
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/android.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Android CI

on:
push:
branches: [ "develop", "main" ]
pull_request:
branches: [ "develop", "main" ]

jobs:
build:

runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: ./android

steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean build
- name: Test with Gradle
run: ./gradlew test
32 changes: 32 additions & 0 deletions .github/workflows/springboot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Springboot CI

on:
push:
branches: [ "develop", "main" ]
pull_request:
branches: [ "develop", "main" ]

jobs:
build:

runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: ./springboot

steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean build
- name: Test with Gradle
run: ./gradlew test

0 comments on commit ee826fe

Please sign in to comment.