name: Yonsei-Golf DEV CI on: pull_request: branches: [ "main" ] env: WORKING_DIRECTORY: ./ 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: 'adopt' - name: Set application properties run: | touch src/main/resources/application.properties echo "${{ secrets.APPLICATION_PROPERTIES }}" > src/main/resources/application.properties - name: Build with Gradle run: | chmod +x gradlew ./gradlew clean build env: WORKING_DIRECTORY: ${{ env.WORKING_DIRECTORY }}