CI: SSH , SCP action에 retry하도록 수정 #585
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
on: | |
pull_request: | |
branches: | |
- main | |
- develop | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
issues: read | |
checks: write | |
pull-requests: write | |
steps: | |
- uses: 'actions/checkout@v3' | |
- name: Setup Java JDK | |
uses: actions/setup-java@v3.12.0 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Build with Gradle | |
run: ./gradlew clean build -x test | |
- name: Run Tests with Gradle | |
run: ./gradlew test | |
- name: Publish Unit Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v2.9.0 | |
if: always() | |
with: | |
files: build/test-results/**/*.xml |