Skip to content

Commit 24479f3

Browse files
committed
Try dot for artifact path
1 parent 1cdc909 commit 24479f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ jobs:
7272
- name: Create directory for build zip
7373
run: mkdir ${{ env.PROJECT_NAME }}
7474

75-
- name: Copy files to botiga directory
76-
run: rsync -av --progress --exclude=${{ env.PROJECT_NAME }} . ${{ env.PROJECT_NAME }}/
75+
- name: Move files to botiga (lowercase) directory
76+
run: shopt -s extglob dotglob && mv !(${{ env.PROJECT_NAME }}) ${{ env.PROJECT_NAME }} && shopt -u dotglob
7777

7878
- name: Create Zip
7979
run: zip -qq -r "${{ env.PROJECT_NAME }}.zip" ${{ env.PROJECT_NAME }}/
@@ -88,7 +88,7 @@ jobs:
8888
uses: actions/upload-artifact@v4
8989
with:
9090
name: ${{ env.PROJECT_NAME }}
91-
path: ${{ env.PROJECT_NAME }}
91+
path: .
9292

9393
- name: Remove the (temporary) zip directory
9494
run: rm -r ${{ env.PROJECT_NAME }}

0 commit comments

Comments
 (0)