Test
This commit is contained in:
@@ -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 }}'"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user