feat : 자신이 등록한 상품에 네고 못하도록 예외 추가 #140
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: Java CI with Gradle | |
on: | |
pull_request: | |
branches: | |
- develop | |
paths-ignore: | |
- '.github/ISSUE_TEMPLATE/**' | |
- '.github/pull_request_template.md' | |
- 'README.md' | |
- '.gitignore' | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: CI with Gradle | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: 17 | |
- name: Create secret.properties | |
run: | | |
touch ./src/main/resources/secret.properties | |
echo "${{ secrets.SECRET_VALUE }}" > ./src/main/resources/secret.properties | |
shell: bash | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build with Gradle | |
run: ./gradlew clean build |