[WSO2 Release] [Jenkins #70] [Release 2.1.7-wso2studio143] prepare re… #2343
Workflow file for this run
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: Run integration tests | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Synapse | |
uses: actions/checkout@v1 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Build Synapse with Maven | |
run: mvn clean install --file pom.xml | |
- name: Get synapse version | |
run: mvn help:evaluate -Dexpression=project.version -q -DforceStdout > ../SYNAPSE_VERSION_FILE | |
- name: Print synapse version | |
run: | | |
echo $(cat ../SYNAPSE_VERSION_FILE) | |
- name: Checkout MI | |
uses: actions/checkout@v1 | |
with: | |
repository: wso2/micro-integrator | |
ref: refs/heads/master | |
- name: Build MI with Maven | |
run: mvn clean install -Dsynapse.version=$(cat ../SYNAPSE_VERSION_FILE) --file ../micro-integrator/pom.xml |