detection of loop and parallelism #124
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
# This workflow will build a Java project with Maven, and the Open-BPMN Docker image | |
# containing the node.js client part based on Theia Platform | |
name: Build and create Docker Image | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: maven | |
- name: Execute Bash script | |
run: | | |
chmod +x ./open-bpmn.metamodel/dependencies/compile.sh | |
cd ./open-bpmn.metamodel/dependencies/ | |
bash compile.sh | |
cd ../../.. | |
- name: Building Open-BPMN Server with Maven | |
run: mvn -B package --file pom.xml | |
- name: Building Docker image | |
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s) |