Skip to content

Commit

Permalink
fix: symlink for gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
prokopsimek committed Nov 15, 2023
1 parent 7b1ff8d commit d240361
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,17 @@ runs:
commit-search-depth: ${{ inputs.commit-search-depth }}
proxy-server: ${{ inputs.proxy-server }}

# ref: https://github.com/orgs/community/discussions/41927#discussioncomment-4655948
# # ref: https://github.com/orgs/community/discussions/41927#discussioncomment-4655948
# - name: Symlink current Actions repo
# working-directory: ${{ github.action_path }}
# shell: bash
# run: ln -fs $(realpath ../) /home/runner/work/_actions/current
- name: Symlink current Actions repo
working-directory: ${{ github.action_path }}
env:
GH_ACTION_REPO: ${{ github.action_repository }}
GH_ACTION_REF: ${{ github.action_ref }}
shell: bash
run: ln -fs $(realpath ../) /home/runner/work/_actions/current
run: ln -s /home/runner/work/_actions/$GH_ACTION_REPO/$GH_ACTION_REF/ /home/runner/work/_actions/current

# Publishing the package to npmjs.com if the release is a node package
- name: Publish to npmjs.com
Expand Down

0 comments on commit d240361

Please sign in to comment.