Skip to content

Commit aca2f76

Browse files
chore: fix script handling of dist files
Specify index.js for git add to avoid unintended files.
1 parent 21650bc commit aca2f76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ runs:
146146
GITHUB_TOKEN: ${{ steps.get_installation_token.outputs.token || github.token }}
147147
run: |
148148
git add "${{ inputs.manifestPath }}"
149-
git add -f ${{ github.workspace }}/dist/\*
149+
git add -f ${{ github.workspace }}/dist/index.js
150150
echo "Changed files:"
151151
echo "$(git diff-index --cached --name-only HEAD)"
152152
if [ -n "$(git diff-index --cached --name-only HEAD)" ]; then

0 commit comments

Comments
 (0)