-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
32 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,8 @@ env: | |
ARTIFACTS_CYPRESS_TESTS_PATH: web/cypress | ||
ARTIFACTS_TASKANA_JARS_NAME: taskana-jars | ||
ARTIFACTS_TASKANA_JARS_PATH: ~/.m2/repository/pro/taskana | ||
ARTIFACTS_TASKANA_CAMUNDA_JARS_NAME: taskana-jars | ||
ARTIFACTS_TASKANA_CAMUNDA_JARS_PATH: ~/m2/repository/org/camunda/bpm/extension/dmn/dmn-xlsx-converter | ||
ARTIFACTS_TASKANA_WEB_NAME: taskana-web | ||
ARTIFACTS_TASKANA_WEB_PATH: web/dist | ||
ARTIFACTS_JACOCO_REPORTS_NAME: jacoco-reports | ||
|
@@ -66,8 +68,16 @@ jobs: | |
name: ${{ env.ARTIFACTS_TASKANA_JARS_NAME }} | ||
path: ${{ env.ARTIFACTS_TASKANA_JARS_PATH }} | ||
if-no-files-found: error | ||
- name: Upload taskana camunda extension artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ env.ARTIFACTS_TASKANA_CAMUNDA_JARS_NAME }} | ||
path: ${{ env.ARTIFACTS_TASKANA_CAMUNDA_JARS_PATH }} | ||
if-no-files-found: error | ||
- name: Remove taskana artifacts from cache | ||
run: rm -rf ~/.m2/repository/pro/taskana | ||
run: rm -rf ${{ env.ARTIFACTS_TASKANA_JARS_PATH }} | ||
- name: Remove taskana camunda extension artifact from cache | ||
run: rm -rf ${{ env.ARTIFACTS_TASKANA_CAMUNDA_JARS_PATH }} | ||
- name: Cancel workflow | ||
if: failure() | ||
uses: andymckay/[email protected] | ||
|
@@ -207,6 +217,11 @@ jobs: | |
with: | ||
name: ${{ env.ARTIFACTS_TASKANA_JARS_NAME }} | ||
path: ${{ env.ARTIFACTS_TASKANA_JARS_PATH }} | ||
- name: Download taskana camunda artifacts | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: ${{ env.ARTIFACTS_TASKANA_CAMUNDA_JARS_NAME }} | ||
path: ${{ env.ARTIFACTS_TASKANA_CAMUNDA_JARS_PATH }} | ||
- name: Change versions to match tag | ||
run: ci/change_version.sh -m . | ||
# Theoretically this step below not necessary because we reuse the cache from the 'compile_frontend' job. | ||
|
@@ -255,6 +270,7 @@ jobs: | |
- taskana-test-api | ||
- taskana-spring | ||
- taskana-spring-example | ||
- dmn-xlsx-converter | ||
- taskana-spi-routing-dmn-router | ||
- taskana-routing-rest | ||
- taskana-rest-spring | ||
|
@@ -315,6 +331,11 @@ jobs: | |
with: | ||
name: ${{ env.ARTIFACTS_TASKANA_JARS_NAME }} | ||
path: ${{ env.ARTIFACTS_TASKANA_JARS_PATH }} | ||
- name: Download taskana camunda artifacts | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: ${{ env.ARTIFACTS_TASKANA_CAMUNDA_JARS_NAME }} | ||
path: ${{ env.ARTIFACTS_TASKANA_CAMUNDA_JARS_PATH }} | ||
- name: Change versions to match tag | ||
run: | | ||
ci/change_version.sh -m . | ||
|
@@ -372,6 +393,11 @@ jobs: | |
with: | ||
name: ${{ env.ARTIFACTS_TASKANA_JARS_NAME }} | ||
path: ${{ env.ARTIFACTS_TASKANA_JARS_PATH }} | ||
- name: Download taskana camunda artifacts | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: ${{ env.ARTIFACTS_TASKANA_CAMUNDA_JARS_NAME }} | ||
path: ${{ env.ARTIFACTS_TASKANA_CAMUNDA_JARS_PATH }} | ||
- name: Download taskana-web dist artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
|
@@ -435,6 +461,11 @@ jobs: | |
with: | ||
name: ${{ env.ARTIFACTS_TASKANA_JARS_NAME }} | ||
path: ${{ env.ARTIFACTS_TASKANA_JARS_PATH }} | ||
- name: Download taskana camunda artifacts | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: ${{ env.ARTIFACTS_TASKANA_CAMUNDA_JARS_NAME }} | ||
path: ${{ env.ARTIFACTS_TASKANA_CAMUNDA_JARS_PATH }} | ||
- name: Download taskana-web dist artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
|