Skip to content

Commit

Permalink
Use action path for init
Browse files Browse the repository at this point in the history
  • Loading branch information
manquer committed Apr 8, 2024
1 parent 1c968de commit dcb1608
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,13 @@ runs:
if: contains(github.actor,'bot') == false
run: |
npm install -g auto-changelog
mv ${ACTION_PATH}/index.js ${WORKSPACE}/_release.js
cd ${WORKSPACE}
npm version ${VERSION}
auto-changelog -t keepachangelog -p -u
mv dist/index.js ${WORKSPACE}/_release.js
node ${WORKSPACE}/_release.js
env:
ACTION_PATH: $${ github.action_path }}
WORKSPACE: ${{ github.workspace }}
VERSION: ${{ inputs.version }}
BASE: ${{ inputs.base }}
Expand Down

0 comments on commit dcb1608

Please sign in to comment.