Add hotfix-dev release to github action workflow
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
name: "Build Compendium Packs"
|
||||
description: "Builds the compendium pack binaries from source JSON files"
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
@@ -7,5 +8,5 @@ runs:
|
||||
uses: ./.github/actions/setup-node
|
||||
|
||||
- name: Build Compendium Packs
|
||||
run: ./build/build-packs.sh
|
||||
shell: bash
|
||||
run: ./build/build-packs.sh
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
name: "Setup Node Project"
|
||||
description: "Sets up a Node.js project"
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
@@ -10,5 +11,5 @@ runs:
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
shell: bash
|
||||
run: npm ci
|
||||
|
||||
@@ -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/*"
|
||||
|
||||
Reference in New Issue
Block a user