File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -68,14 +68,16 @@ jobs:
6868 run : ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
6969 - name : Static HTML export with Nuxt
7070 run : ${{ steps.detect-package-manager.outputs.manager }} run generate
71- - name : Tar files
71+ - name : Zip files
7272 run : |
7373 mkdir -p artifacts
7474 ls -al ./dist
75- cd ./dist && zip -r ../artifacts/rustfs-console-latest.zip .
75+ ZIP_SRC=$(realpath dist)
76+ cd "$ZIP_SRC"
77+ zip -r ../../artifacts/rustfs-console-latest.zip .
7678 if [ "${{ github.event_name }}" = "release" ]; then
77- mkdir -p ../artifacts/${{ github.event.release.tag_name }}
78- cd ./dist && zip -r ../artifacts/${{ github.event.release.tag_name }}/rustfs-console-${{ github.event.release.tag_name }}.zip .
79+ mkdir -p ../../ artifacts/${{ github.event.release.tag_name }}
80+ zip -r ../ ../artifacts/${{ github.event.release.tag_name }}/rustfs-console-${{ github.event.release.tag_name }}.zip .
7981 fi
8082 - uses : actions/upload-artifact@v4
8183 name : Upload artifacts
You can’t perform that action at this time.
0 commit comments