-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 835 Bytes
/
Copy pathci_dev.yml
File metadata and controls
39 lines (31 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Tattour-Server-Dev CI
on:
pull_request:
branches: [ "dev" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: make application.properties
run: |
#mkdir ./server/src/main/resources
cd ./server/src/main/resources
touch ./application.yaml
echo "${{ secrets.TATTOUR_DEV_APPLICATION }}" >> ./application.yaml
cat ./application.yaml
shell: bash
- name: Grant execute permission for gradlew
run: chmod +x ./server/gradlew
- name: Build with Gradle
run: |
cd ./server
./gradlew build -x test