-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (25 loc) ยท 841 Bytes
/
Copy pathdeploy.yml
File metadata and controls
32 lines (25 loc) ยท 841 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
name: Java CI for Picke
on:
push:
branches: [ "dev", "main" ]
pull_request:
branches: [ "dev", "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle # 1. ๋น๋ ์๋๋ฅผ ํ๊ธฐ์ ์ผ๋ก ์ค์ด๊ธฐ ์ํด ๊ทธ๋๋ค ์บ์ ์ ์ฉ
- name: Install ffmpeg
run: sudo apt-get update && sudo apt-get install -y ffmpeg
- name: Grant execute permission for gradlew
run: chmod +x gradlew
# 2. ํ
์คํธ์ ํจ๊ป ๋น๋๋ฅผ ์ํํ์ฌ Context Load ๋ฐ ๋จ์ ํ
์คํธ ๋ฌด๊ฒฐ์ฑ ํตํฉ ๊ฒ์ฆ
- name: Build and Test Verification
run: ./gradlew build