We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ca8e8c commit be50a33Copy full SHA for be50a33
1 file changed
.github/workflows/zip.yml
@@ -1,4 +1,4 @@
1
-name: Build and Collect Directory
+name: Build and Collect ZIP
2
on:
3
push:
4
pull_request:
@@ -18,20 +18,14 @@ jobs:
18
run: npm ci
19
- name: Build
20
run: npm run build
21
- - name: Find Directory
22
- id: find_dir
+ - name: Zip Directory
23
run: |
24
- DIR="dist/01KSU_INST-KSU"
25
- if [ ! -d "$DIR" ]; then
26
- echo "Directory not found: $DIR"
27
- exit 1
28
- fi
29
- echo "directory=$DIR" >> "$GITHUB_OUTPUT"
30
- echo "Found Directory: $DIR"
31
- - name: Upload Directory Artifact
+ zip -r build-zip.zip dist/01KSU_INST-KSU
+ - name: Upload ZIP artifact
32
uses: actions/upload-artifact@v4
33
with:
34
name: 01KSU_INST-KSU
35
- path: ${{ steps.find_dir.outputs.directory }}
+ path: build-zip.zip
36
if-no-files-found: error
+ compression-level: 0
37
0 commit comments