Add hotfix-dev release to github action workflow

This commit is contained in:
jalensailin
2025-12-12 03:04:10 -05:00
parent 34bd2b5398
commit ee9d9a179b
5 changed files with 59 additions and 33 deletions
+3 -12
View File
@@ -1,27 +1,18 @@
name: "Zip Project"
description: "Zips the project for distribution"
inputs:
path:
description: "Path to output directory for zip file"
required: false
default: ""
runs:
using: "composite"
steps:
- name: Zip
shell: bash
run: |
if [[ -z "${{ inputs.path }}" ]]; then
OUTPUT_PATH="deltagreen.zip"
else
OUTPUT_PATH="${{ inputs.path }}/deltagreen.zip"
fi
zip -r "${OUTPUT_PATH}" . \
zip -r deltagreen.zip . \
-x "packs/source/*" \
-x "build/*" \
-x "dist/*" \
-x ".*" \
-x "package.json" \
-x "package-lock.json" \
-x "node_modules/*"
-x "node_modules/*" \
-x "site/*"