From 852eca9246f5d81135507c5a526ff0798ce0a234 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 28 Apr 2023 12:58:59 +0000 Subject: [PATCH 1/2] Introduce dev-build; checking latest engine compatibility --- .github/workflows/dev.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/dev.yml diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml new file mode 100644 index 0000000..a27a639 --- /dev/null +++ b/.github/workflows/dev.yml @@ -0,0 +1,11 @@ +name: Dev-Build + +on: + push: + schedule: + - cron: '21 21 * * *' + workflow_dispatch: + +jobs: + build: + uses: axonivy-market/github-workflows/.github/workflows/dev.yml@v2 From f45b6a8716c7604d0e092a6e5ea675cd1f48de80 Mon Sep 17 00:00:00 2001 From: Reguel Wermelinger Date: Tue, 2 May 2023 09:51:43 +0200 Subject: [PATCH 2/2] rebuild ci/dev pipeline as in our official github-workflows --- .github/workflows/ci.yml | 9 +++++++-- .github/workflows/dev.yml | 4 +++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53a7524..16b0ec0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,11 +2,16 @@ name: CI-Build on: push: - pull_request: workflow_dispatch: + workflow_call: + inputs: + mvnArgs: + type: string + required: false schedule: - cron: '21 21 * * *' + jobs: build: runs-on: ubuntu-20.04 @@ -33,7 +38,7 @@ jobs: sudo useradd -s /bin/bash -d /home/usr -m -g ${sshGroup} -p $(echo pwd | openssl passwd -1 -stdin) usr - name: Build with Maven - run: mvn clean verify --batch-mode + run: mvn clean verify --batch-mode ${{ inputs.mvnArgs }} - name: Publish Unit Test Results uses: EnricoMi/publish-unit-test-result-action@v1 diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index a27a639..d55fdca 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -8,4 +8,6 @@ on: jobs: build: - uses: axonivy-market/github-workflows/.github/workflows/dev.yml@v2 + uses: ./.github/workflows/ci.yml + with: + mvnArgs: '"-Divy.engine.download.url=https://dev.axonivy.com/permalink/dev/axonivy-engine.zip" "-Divy.engine.version=(10.0.0,]"'