From 39691cd388ec9889fa6616da6bb53f73c619566a Mon Sep 17 00:00:00 2001 From: kenorb Date: Sun, 27 Aug 2023 00:24:45 +0100 Subject: [PATCH] GHA: Limit artifact upload to .ex[45] files only --- .github/workflows/backtest.yml | 4 ++-- .github/workflows/compile.yml | 4 ++-- .github/workflows/optimize-indi.yml | 4 ++-- .github/workflows/optimize-pricestop.yml | 4 ++-- .github/workflows/optimize-signalclose.yml | 4 ++-- .github/workflows/optimize-signalopen.yml | 4 ++-- .github/workflows/optimize-tick.yml | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/backtest.yml b/.github/workflows/backtest.yml index 057db8d..39e7050 100644 --- a/.github/workflows/backtest.yml +++ b/.github/workflows/backtest.yml @@ -64,7 +64,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: EA - path: '*.ex?' + path: '*.ex[45]' Compile-Indicators: defaults: run: @@ -107,7 +107,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: Indicators - path: '**/*.ex?' + path: '**/*.ex[45]' Test: needs: [Compile-EA, Compile-Indicators] runs-on: ubuntu-latest diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 0ec2670..8869d8c 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -57,7 +57,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: EA - path: '*.ex?' + path: '*.ex[45]' Compile-Indicators: defaults: run: @@ -100,4 +100,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: Indicators - path: '**/*.ex?' + path: '**/*.ex[45]' diff --git a/.github/workflows/optimize-indi.yml b/.github/workflows/optimize-indi.yml index b28161b..3972116 100644 --- a/.github/workflows/optimize-indi.yml +++ b/.github/workflows/optimize-indi.yml @@ -44,7 +44,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: EA - path: '*.ex?' + path: '*.ex[45]' Compile-Indicators: defaults: run: @@ -79,7 +79,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: Indicators - path: 'Indicators/*.ex?' + path: 'Indicators/*.ex[45]' Process: env: SETS_DIR: sets/optimize/indicator diff --git a/.github/workflows/optimize-pricestop.yml b/.github/workflows/optimize-pricestop.yml index 68cf058..4d8e1cf 100644 --- a/.github/workflows/optimize-pricestop.yml +++ b/.github/workflows/optimize-pricestop.yml @@ -44,7 +44,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: EA - path: '*.ex?' + path: '*.ex[45]' Compile-Indicators: defaults: run: @@ -79,7 +79,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: Indicators - path: 'Indicators/*.ex?' + path: 'Indicators/*.ex[45]' Process: env: SETS_DIR: sets/optimize/pricestop diff --git a/.github/workflows/optimize-signalclose.yml b/.github/workflows/optimize-signalclose.yml index 283f3d5..3182c2e 100644 --- a/.github/workflows/optimize-signalclose.yml +++ b/.github/workflows/optimize-signalclose.yml @@ -44,7 +44,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: EA - path: '*.ex?' + path: '*.ex[45]' Compile-Indicators: defaults: run: @@ -79,7 +79,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: Indicators - path: 'Indicators/*.ex?' + path: 'Indicators/*.ex[45]' Process: env: SETS_DIR: sets/optimize/signalclose diff --git a/.github/workflows/optimize-signalopen.yml b/.github/workflows/optimize-signalopen.yml index 0a0840d..31bc66c 100644 --- a/.github/workflows/optimize-signalopen.yml +++ b/.github/workflows/optimize-signalopen.yml @@ -44,7 +44,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: EA - path: '*.ex?' + path: '*.ex[45]' Compile-Indicators: defaults: run: @@ -79,7 +79,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: Indicators - path: 'Indicators/*.ex?' + path: 'Indicators/*.ex[45]' Process: env: SETS_DIR: sets/optimize/signalopen diff --git a/.github/workflows/optimize-tick.yml b/.github/workflows/optimize-tick.yml index d4ee791..e468fdd 100644 --- a/.github/workflows/optimize-tick.yml +++ b/.github/workflows/optimize-tick.yml @@ -44,7 +44,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: EA - path: '*.ex?' + path: '*.ex[45]' Compile-Indicators: defaults: run: @@ -79,7 +79,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: Indicators - path: 'Indicators/*.ex?' + path: 'Indicators/*.ex[45]' Process: env: SETS_DIR: sets/optimize/tick