Skip to content

Commit

Permalink
Exclude rootdir
Browse files Browse the repository at this point in the history
  • Loading branch information
hmelder committed Nov 6, 2023
1 parent 316e8ad commit 8986c4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
source venv/bin/activate
for dir in */ ; do
if [[ -d "$dir" && ! -L "$dir" ]]; then
if [[ -d "$dir" && ! -L "$dir" && "$dir" != "*/" ]]; then
dirname=$(basename "$dir")
result_dir="${dirname}_Result"
mkdir -p "$result_dir"
Expand All @@ -37,5 +37,6 @@ jobs:
uses: actions/upload-artifact@v3
with:
path: |
name: flashcards
*_cards.tar.gz

0 comments on commit 8986c4b

Please sign in to comment.