Skip to content

Commit

Permalink
fix release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
arolfes committed Nov 10, 2023
1 parent 58782b2 commit c7a15af
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 .
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit c7a15af

Please sign in to comment.