Skip to content

Commit dd92aa8

Browse files
actions workflow update
1 parent 6c1d050 commit dd92aa8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ jobs:
2121
- name: Prepare files
2222
run: |
2323
mkdir cache-everything
24-
mv * .[^.]* cache-everything
25-
24+
shopt -s extglob
25+
mv !(cache-everything) cache-everything/
26+
2627
- name: Create Zip File
2728
run: zip -r cache-everything-${GITHUB_REF_NAME}.zip cache-everything/ -x "*.git*" -x "cache-everything/node_modules/*" -x "cache-everything/Dockerfile" -x "cache-everything/docker-compose.yml"
2829

@@ -57,3 +58,4 @@ jobs:
5758
asset_content_type: application/zip
5859
env:
5960
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61+

0 commit comments

Comments
 (0)