Skip to content

Commit

Permalink
rebuild ci/dev pipeline as in our official github-workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-rew committed May 2, 2023
1 parent 852eca9 commit 6866bfd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -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
Expand All @@ -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
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/dev.yml
Expand Up @@ -5,7 +5,15 @@ on:
schedule:
- cron: '21 21 * * *'
workflow_dispatch:
workflow_call:
inputs:
ivyVersion:
type: string
default: dev
description: the ivy version to use (e.g. dev/nightly/nightly-10/...)

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/${{ inputs.ivyVersion }}/axonivy-engine.zip" "-Divy.engine.version=(10.0.0,]"'

0 comments on commit 6866bfd

Please sign in to comment.