Skip to content

Commit f0b28d2

Browse files
committed
fix: Correct the check-for-package-difference github action.
1 parent 34ddd3b commit f0b28d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/check-for-package-difference.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ on:
2323
package-location:
2424
description: 'File path to the package.json file to check. Includes the name of the file.'
2525
required: false
26-
default: 'etc/PackageTemplate/package.json'
26+
default: 'com.playeveryware.eos/package.json'
2727
type: string
2828

2929
env:
3030
NEW_BRANCH_NAME: ${{ github.head_ref || github.ref_name || inputs.new-branch || 'stable' }}
3131
OLD_BRANCH_NAME: ${{ inputs.old-branch || 'stable' }}
32-
PACKAGE_LOCATION: ${{ inputs.package-location || 'com.playeveryware.eos/package.json'}}
32+
PACKAGE_LOCATION: ${{ inputs.package-location }}
3333

3434
jobs:
3535
check_package_version_changed:
@@ -59,7 +59,7 @@ jobs:
5959
const response = await github.rest.repos.getContent({
6060
owner: context.repo.owner,
6161
repo: context.repo.repo,
62-
path: '${{ env.PACKAGE_LOCATION }}',
62+
path: 'etc/PackageTemplate/package.json',
6363
ref: '${{ env.OLD_BRANCH_NAME }}'
6464
});
6565

0 commit comments

Comments
 (0)