Fix comparison.
This commit is contained in:
@@ -61,12 +61,12 @@ runs:
|
||||
registry: ${{ inputs.registry }}
|
||||
apiKey: ${{ inputs.apiKey }}
|
||||
incrementMode: ${{ inputs.incrementMode }}
|
||||
- name: "Pack with latest version for comparison"
|
||||
if: ${{ steps.npm.outputs.latestVersion && inputs.skipCompare == 'false' }}
|
||||
- name: "Pack with next version for comparison"
|
||||
if: ${{ steps.npm.outputs.nextVersion && inputs.skipCompare == 'false' }}
|
||||
id: pack_comparison
|
||||
uses: act/common/npm/npm-pack@master
|
||||
with:
|
||||
version: ${{ steps.npm.outputs.latestVersion }}
|
||||
version: ${{ steps.npm.outputs.nextVersion }}
|
||||
workingDirectory: ${{ inputs.workingDirectory }}
|
||||
nodeVersion: ${{ inputs.nodeVersion }}
|
||||
buildScript: ${{ inputs.buildScript }}
|
||||
@@ -78,8 +78,8 @@ runs:
|
||||
uses: act/common/npm/npm-diff@master
|
||||
with:
|
||||
name: ${{ inputs.name }}
|
||||
lhsVersion: ${{ inputs.defaultVersion }}
|
||||
rhsVersion: ${{ steps.npm.outputs.latestVersion }}
|
||||
lhsVersion: ${{ steps.npm.outputs.latestVersion }}
|
||||
rhsVersion: ${{ steps.npm.outputs.nextVersion }}
|
||||
workingDirectory: ${{ inputs.workingDirectory }}
|
||||
registry: ${{ inputs.registry }}
|
||||
apiKey: ${{ inputs.apiKey }}
|
||||
|
||||
Reference in New Issue
Block a user