Skip to content

Commit f7db3fd

Browse files
committed
feat: add env variable for package.json path in workflow
1 parent e0575d8 commit f7db3fd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build-release_pull-request.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ permissions:
99
actions: read
1010
contents: write
1111

12+
env:
13+
PACKAGE_JSON_PATH: './Packages/SimplePackage/package.json'
14+
1215
jobs:
1316
extract-tag:
1417
if: ${{ github.event.pull_request.merged == true && github.event.pull_request.base.ref == github.event.repository.default_branch }}
@@ -39,6 +42,8 @@ jobs:
3942
needs: [extract-tag]
4043
if: ${{ needs.extract-tag.outputs.tag }}
4144
uses: IShix-g/Unity-GitHubActions/.github/workflows/reusable-update-packagejson.yaml@main
45+
env:
46+
PACKAGE_JSON_PATH: ${{ env.PACKAGE_JSON_PATH }}
4247
secrets:
4348
BOT_APP_ID: ${{ secrets.BOT_APP_ID }}
4449
BOT_PRIVATE_KEY: ${{ secrets.BOT_PRIVATE_KEY }}

0 commit comments

Comments
 (0)