From 187a490b597d44b2782a823c56de589f3ccf55d4 Mon Sep 17 00:00:00 2001 From: kenorb Date: Tue, 20 Aug 2024 15:45:37 +0100 Subject: [PATCH] GHA: Compile: Adds prefix to artifact --- .github/workflows/compile.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 3e6b944..6747afb 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -95,7 +95,7 @@ jobs: uses: actions/upload-artifact@v4 with: if-no-files-found: error - name: platform-indicators-ex${{ matrix.version }} + name: ${{ env.ARTIFACT_PREFIX }}-indicators-ex${{ matrix.version }} path: MQL?/**/*.[me][qx][45h] - if: ${{ failure() }} uses: mxschmitt/action-tmate@v3 @@ -134,7 +134,7 @@ jobs: - uses: actions/download-artifact@v4 with: merge-multiple: true - pattern: platform-indicators-ex? + pattern: ${{ env.ARTIFACT_PREFIX }}-indicators-ex? - name: List all source code files run: '(Get-ChildItem -Recurse -Path . -Include *.mq[45]).fullname' - name: List compiled files @@ -164,7 +164,8 @@ jobs: - name: Upload indicator artifacts uses: actions/upload-artifact@v4 with: - name: indicators-common-ex${{ matrix.version }} + # yamllint disable-line rule:line-length + name: ${{ env.ARTIFACT_PREFIX }}-indicators-common-ex${{ matrix.version }} path: ${{ env.INDI_COMMON_WORKDIR }}/**/*.ex[45] timeout-minutes: 30