Skip to content

Commit 9949d70

Browse files
committed
Prune ignore directories so not as general
1 parent 1693fb4 commit 9949d70

1 file changed

Lines changed: 5 additions & 12 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,11 @@ jobs:
2626
run: |
2727
mkdir -p build
2828
zip -X -r build/${{ github.event.repository.name }}.zip . \
29-
.git/* \
30-
bin/* \
31-
node_modules/* \
32-
.* \
33-
"*/\.*" \
34-
*.dist \
35-
*.xml \
36-
*.neon \
37-
composer.lock \
38-
package*.json \
39-
tests/* \
40-
build/*
29+
-x .git/* \
30+
-x .* \
31+
-x composer.lock \
32+
-x package*.json \
33+
-x build/*
4134
4235
- name: Upload artifact
4336
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)