diff --git a/.github/workflows/ci-fork.yml b/.github/workflows/ci-fork.yml deleted file mode 100644 index 955aaf1..0000000 --- a/.github/workflows/ci-fork.yml +++ /dev/null @@ -1,67 +0,0 @@ -name: Reusable CI-Build - -on: - workflow_call: - inputs: - mvnArgs: - type: string - required: false - javaVersion: - type: number - default: 17 - mvnVersion: - type: string - default: 3.6.3 - secrets: - mvnArgs: - required: false - -jobs: - build: - runs-on: ubuntu-24.04 - - steps: - - uses: actions/checkout@v4 - - - name: Setup Java JDK - uses: actions/setup-java@v4 - with: - java-version: ${{ inputs.javaVersion }} - distribution: temurin - - - name: Set up Maven - uses: stCarolas/setup-maven@v5 - with: - maven-version: ${{ inputs.mvnVersion }} - - - name: Verify Maven version - run: mvn --version - - - name: Build with Maven - run: mvn clean verify -Dmaven.test.failure.ignore=true --batch-mode ${{ inputs.mvnArgs }} ${{ secrets.mvnArgs }} - - - name: Publish Unit Test Results - uses: EnricoMi/publish-unit-test-result-action@v2 - if: always() - with: - junit_files: | - */target/*-reports/*.xml - !*/target/*-reports/failsafe-summary.xml - - - name: Archive build artifact - uses: actions/upload-artifact@v4 - with: - path: | - */target/*.iar - *product/target/*.zip - - - name: Archive test reports - uses: actions/upload-artifact@v4 - if: failure() - with: - name: test-reports - retention-days: 5 - path: | - */target/testEngineOut.log - */target/selenide/* - */target/ivyEngine/deploy/*/*.deploymentLog diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01c680d..1baa5d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,4 +8,4 @@ on: jobs: build: - uses: axonivy-market/github-workflows/.github/workflows/ci.yml@v2 + uses: axonivy-market/github-workflows/.github/workflows/ci.yml@v3 diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 532668a..93bff77 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -8,8 +8,7 @@ on: jobs: build: - uses: ./.github/workflows/ci-fork.yml + uses: axonivy-market/github-workflows/.github/workflows/ci.yml@v3 with: - mvnArgs: '-Dproject.build.plugin.version=11.4.0-SNAPSHOT -Dtester.version=11.4.0-SNAPSHOT -Divy.script.validation.skip=true' - javaVersion: 21 - mvnVersion: '3.9.8' + # temporary: disable script validation ... connector uses an invalid variable name! + mvnArgs: '-Divy.script.validation.skip=true'