📝tableswitchも扱うようになったのでコメントを更新 #588
This file contains hidden or 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: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ ubuntu-latest, windows-latest ] | |
| java-version: [ '17' ] | |
| name: build Java ${{ matrix.java-version }} (${{ matrix.os }}) | |
| env: | |
| GRADLE_OPTS: '-Dorg.gradle.daemon=false -Dfile.encoding=UTF-8' | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ matrix.java-version }} | |
| - name: Cache Gradle | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| ~/.gradle/caches | |
| ~/.gradle/wrapper | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
| - name: Set UTF-8 encoding for Windows | |
| if: runner.os == 'Windows' | |
| run: chcp.com 65001 | |
| - name: Run Build | |
| run: | | |
| ./gradlew build --continue | |
| - name: Upload test failure report | |
| uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: test-failure-reports-${{ matrix.java-version }}-${{ runner.os }} | |
| path: build/reports/tests/ | |
| retention-days: 3 |