Marp 1456 Show statistic button should not be pressed for some use ca… #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Stagging-Deploy-Build | |
on: | |
push: | |
branches: [ "develop" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
uses: axonivy-market/github-workflows/.github/workflows/ci.yml@v5 | |
with: | |
mvnArgs: '"-Divy.engine.download.url=https://dev.axonivy.com/permalink/12/axonivy-engine.zip" "-Divy.engine.version=12.0.0" "-Dproject.build.plugin.version=12.0.0" "-Dtester.version=12.0.1"' | |
javaVersion: 21 | |
mvnVersion: 3.9.8 | |
deploy: | |
needs: build | |
runs-on: 'bpmn-statistic' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
sparse-checkout: | | |
pom.xml | |
sparse-checkout-cone-mode: false | |
- name: Download artifact | |
uses: actions/download-artifact@v4 | |
- name: Copy file | |
run: | | |
version=$(xml sel -t -m "//_:project" -v _:version pom.xml) | |
artifactDir=artifact/process-analyser | |
engineDeployDir=/var/tools/ivy/12/deploy/PROCESS-ANALYSER | |
install -m 666 ${artifactDir}/target/process-analyser-${version}.iar $engineDeployDir/process-analyser-${version}.iar | |
install -m 666 ${artifactDir}-demo/target/process-analyser-demo-${version}.iar $engineDeployDir/process-analyser-demo-${version}.iar | |
- name: Restart engine | |
run: | | |
cd /etc/docker-compose/engine/12 | |
docker compose restart |