From d6a8a7bde8a88499d2d733ce4ad0cf804d1994e4 Mon Sep 17 00:00:00 2001 From: urielch Date: Tue, 7 Mar 2023 15:33:37 +0200 Subject: [PATCH] fix github action --- .../json-smart-action-unit-tests.yml | 21 ------------------- .github/workflows/json-smart-unit-tests.yml | 6 ++++-- 2 files changed, 4 insertions(+), 23 deletions(-) delete mode 100644 .github/workflows/json-smart-action-unit-tests.yml diff --git a/.github/workflows/json-smart-action-unit-tests.yml b/.github/workflows/json-smart-action-unit-tests.yml deleted file mode 100644 index 7491eed..0000000 --- a/.github/workflows/json-smart-action-unit-tests.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: json smart action unit tests -on: - push: - branches: - - master - pull_request: - branches: - - master - -jobs: - publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Set up jdk 17 - uses: actions/setup-java@v2 - with: - java-version: '17' - distribution: 'temurin' - - name: unit tests - run: cd json-smart-action; mvn -B clean test diff --git a/.github/workflows/json-smart-unit-tests.yml b/.github/workflows/json-smart-unit-tests.yml index bb7f942..3424250 100644 --- a/.github/workflows/json-smart-unit-tests.yml +++ b/.github/workflows/json-smart-unit-tests.yml @@ -17,5 +17,7 @@ jobs: with: java-version: '17' distribution: 'temurin' - - name: unit tests - run: cd json-smart; mvn -B clean test + - name: unit tests json-smart-action + run: cd json-smart-action; mvn -B install; mvn -B clean test + - name: unit tests json-smart + run: cd ../json-smart; mvn -B clean test