Skip to content

Commit

Permalink
GHA: Compile: Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Aug 20, 2024
1 parent 41a3fae commit dd996d3
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,16 @@ jobs:
include: .
init-platform: true
mt-path: .${{ env.ARTIFACT_PREFIX }}${{ matrix.version }}
# yamllint disable-line rule:line-length
path: .${{ env.ARTIFACT_PREFIX }}${{ matrix.version }}/**/MQL?/Indicators
verbose: true
- name: Copy MQL to the current location
run: Copy-Item -Path ".${{ env.ARTIFACT_PREFIX }}*\*\*\MQL?" -Destination . -Recurse -Verbose
run: >-
Copy-Item
-Path ".${{ env.ARTIFACT_PREFIX }}*\*\*\MQL?"
-Destination .
-Recurse
-Verbose
- name: List all source code files
run: '(Get-ChildItem -Recurse -Path "MQL?" -Include *.mq[45]).fullname'
- name: List compiled files
Expand All @@ -89,7 +95,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: platform-indicators-mql${{ matrix.version }}
name: platform-indicators-ex${{ matrix.version }}
path: MQL?/**/*.[me][qx][45h]
- if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
Expand Down Expand Up @@ -128,7 +134,7 @@ jobs:
- uses: actions/download-artifact@v4
with:
merge-multiple: true
pattern: platform-indicators-mql?
pattern: platform-indicators-ex?
- name: List all source code files
run: '(Get-ChildItem -Recurse -Path . -Include *.mq[45]).fullname'
- name: List compiled files
Expand Down Expand Up @@ -158,7 +164,7 @@ jobs:
- name: Upload indicator artifacts
uses: actions/upload-artifact@v4
with:
name: indicators-common
name: indicators-common-ex${{ matrix.version }}
path: ${{ env.INDI_COMMON_WORKDIR }}/**/*.ex[45]
timeout-minutes: 30

Expand Down

0 comments on commit dd996d3

Please sign in to comment.