chore: #13 config pull #42
Workflow file for this run
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: Build Test | |
on: | |
push: | |
branches-ignore: ["develop"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:latest | |
ports: | |
- 54345:5432 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
token: ${{secrets.TOKEN_GITHUB}} | |
submodules: recursive | |
- name: Setup Java JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: 17 | |
- name: Git Submodule Update | |
run: | | |
git submodule update --remote --recursive | |
- name: Grant execute permission for gradlew | |
run: chmod +x ./gradlew | |
shell: bash | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Build with Gradle | |
run: ./gradlew clean build -x test | |
shell: bash | |
- name: Move *.jar File | |
run: | | |
mkdir content | |
mv ./build/libs/*.jar ./content/ | |
- name: Extract .jar File | |
uses: actions/upload-artifact@v3 | |
with: | |
name: jar-file | |
path: | | |
./content/*.jar | |