Merge branch 'main' into develop #556
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
name: Hello,GSM Back-V2 CI | |
on: | |
push: | |
branches: [ "develop" ] | |
pull_request: | |
branches: [ "*" ] | |
env: | |
REDIS_HOST: ${{secrets.REDIS_HOST}} | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Start Redis | |
uses: supercharge/[email protected] | |
with: | |
redis-version: 7 | |
redis-port: 6379 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Set up JDK 17 job has success | |
if: ${{ success() }} | |
run: echo "jdk 17 job succeeded" | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name : Setup Gradls's permission | |
run : chmod +x gradlew | |
- name: Run build with Gradle wrapper | |
run: ./gradlew clean hellogsm-web:build hellogsm-batch:build |