This commit is contained in:
2026-01-05 11:45:01 -08:00
parent aecca397b5
commit c63da67bcd
2 changed files with 6 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ runs:
id: base id: base
with: with:
version: ${{ inputs.defaultVersion }} version: ${{ inputs.defaultVersion }}
incrementMode: ${{ inputs.incrementMode }}
- name: "Debug - Base version info" - name: "Debug - Base version info"
run: | run: |
echo "Default version: '${{ inputs.defaultVersion }}'" echo "Default version: '${{ inputs.defaultVersion }}'"

View File

@@ -35,6 +35,10 @@ inputs:
description: "Skip in-depth comparison." description: "Skip in-depth comparison."
required: true required: true
default: "false" default: "false"
incrementMode:
description: "Version increment mode: major, minor, patch."
required: false
default: "patch"
outputs: outputs:
tgz: tgz:
description: "The generated output .tgz file." description: "The generated output .tgz file."
@@ -56,6 +60,7 @@ runs:
defaultVersion: ${{ inputs.defaultVersion }} defaultVersion: ${{ inputs.defaultVersion }}
registry: ${{ inputs.registry }} registry: ${{ inputs.registry }}
apiKey: ${{ inputs.apiKey }} apiKey: ${{ inputs.apiKey }}
incrementMode: ${{ inputs.incrementMode }}
- name: "Pack with latest version for comparison" - name: "Pack with latest version for comparison"
if: ${{ steps.npm.outputs.latestVersion && inputs.skipCompare == 'false' }} if: ${{ steps.npm.outputs.latestVersion && inputs.skipCompare == 'false' }}
id: pack_comparison id: pack_comparison