Skip to content

[Chore] ์žฌmerge ํ…Œ์ŠคํŠธ #23

[Chore] ์žฌmerge ํ…Œ์ŠคํŠธ

[Chore] ์žฌmerge ํ…Œ์ŠคํŠธ #23

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: WINEY DEV CI
on:
pull_request:
branches: [ "dev" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- 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: |
## create application.yml
mkdir -p ./src/main/resources
# application.yml ํŒŒ์ผ ์ƒ์„ฑ
touch ./application.yml
# GitHub-Actions ์—์„œ ์„ค์ •ํ•œ ๊ฐ’์„ application.yml ํŒŒ์ผ์— ์“ฐ๊ธฐ
echo "${{ secrets.WINEY_DEV_APPLICATION }}" >> ./application.yml
# Firebase secrets ํŒŒ์ผ ๋ณต์‚ฌ
echo "${{ secrets.WINEY_FIREBASE }}" >> ./winey-firebase.json
# application.yml ํŒŒ์ผ ํ™•์ธ
cat ./application.yml
shell: bash
# ์ด ์›Œํฌํ”Œ๋กœ์šฐ๋Š” gradle build
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle # ์‹ค์ œ application build
run: ./gradlew build -PactiveProfiles=local