From d28c94f706eb6092014e7110092d3a58d921452a Mon Sep 17 00:00:00 2001 From: kenorb Date: Tue, 20 Aug 2024 15:45:43 +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 9c8b6fd..1ae1187 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 @@ -129,7 +129,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 @@ -147,7 +147,8 @@ jobs: - name: Upload indicator artifacts uses: actions/upload-artifact@v4 with: - name: indicators-other-ex${{ matrix.version }} + # yamllint disable-line rule:line-length + name: ${{ env.ARTIFACT_PREFIX }}-indicators-other-ex${{ matrix.version }} path: ${{ env.INDI_OTHER_WORKDIR }}/**/*.ex[45] timeout-minutes: 30