Skip to content

Commit

Permalink
GHA: Limit artifact upload to .ex[45] files only
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Aug 26, 2023
1 parent dba00f5 commit 39691cd
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: EA
path: '*.ex?'
path: '*.ex[45]'
Compile-Indicators:
defaults:
run:
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: EA
path: '*.ex?'
path: '*.ex[45]'
Compile-Indicators:
defaults:
run:
Expand Down Expand Up @@ -100,4 +100,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: Indicators
path: '**/*.ex?'
path: '**/*.ex[45]'
4 changes: 2 additions & 2 deletions .github/workflows/optimize-indi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: EA
path: '*.ex?'
path: '*.ex[45]'
Compile-Indicators:
defaults:
run:
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/optimize-pricestop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: EA
path: '*.ex?'
path: '*.ex[45]'
Compile-Indicators:
defaults:
run:
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/optimize-signalclose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: EA
path: '*.ex?'
path: '*.ex[45]'
Compile-Indicators:
defaults:
run:
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/optimize-signalopen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: EA
path: '*.ex?'
path: '*.ex[45]'
Compile-Indicators:
defaults:
run:
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/optimize-tick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: EA
path: '*.ex?'
path: '*.ex[45]'
Compile-Indicators:
defaults:
run:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 39691cd

Please sign in to comment.