Skip to content

Commit dd03c9f

Browse files
authored
Updating the Windows workflows - Making files in the archive root
1 parent 05b42ab commit dd03c9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
artifact=${artifact,,}
6565
# Add the ARTIFACT name as GitHub environment variable.
6666
echo "ARTIFACT=$artifact" >> $GITHUB_ENV
67-
mv dist/ $artifact
67+
mv dist/* $artifact/
6868
- name: Upload Artifact
6969
uses: actions/upload-artifact@v3
7070
with:
@@ -74,7 +74,7 @@ jobs:
7474
if: github.ref_type == 'tag' || (github.ref_name == 'main' && github.event_name == 'push')
7575
shell: bash
7676
run: |
77-
7z a -tzip ${{ env.ARTIFACT }}.zip ${{ env.ARTIFACT }}
77+
7z a -tzip ${{ env.ARTIFACT }}.zip ${{ env.ARTIFACT }}/*
7878
if [ $GITHUB_REF_TYPE == tag ]; then
7979
echo "TAG=$GITHUB_REF_NAME" >> $GITHUB_ENV
8080
else

0 commit comments

Comments
 (0)