Skip to content

Commit

Permalink
Fix workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
komamitsu committed Jan 16, 2024
1 parent c5580dd commit 4e48df7
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,20 @@ jobs:
java-version: ${{ matrix.java_version }}
distribution: 'temurin'

- name: Setup and execute Gradle 'check' task
uses: gradle/gradle-build-action@v2
with:
arguments: check
- name: Setup and execute Maven 'verify' task
run: |
./mvnw --batch-mode --update-snapshots verify
- name: Save Gradle test reports
- name: Save test reports
if: always()
run: |
mkdir -p /tmp/gradle_test_reports/btm
cp -a btm/build/reports/tests/test /tmp/gradle_test_reports/btm/
mkdir -p /tmp/test_reports/btm
cp -a btm/target/surefire-reports /tmp/test_reports/btm/
- name: Upload Gradle test reports
- name: Upload test reports
if: always()
uses: actions/upload-artifact@v3
with:
name: gradle_test_reports
path: /tmp/gradle_test_reports
name: test_reports
path: /tmp/test_reports

0 comments on commit 4e48df7

Please sign in to comment.