Skip to content

Commit c2cb1db

Browse files
committed
action: fix add-to-path will not work for custom directories when version is dev
1 parent 820ba48 commit c2cb1db

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ runs:
7777
fi
7878
if [[ ${{ inputs.version }} == "dev" ]]; then
7979
bash <(curl -s https://raw.githubusercontent.com/julelang/julec-ir/main/compile-ir.sh)
80+
if [[ "$DIRECTORY" != "." ]] && [[ "$DIRECTORY" != "./" ]]; then
81+
mv "jule" "$DIRECTORY/jule"
82+
fi
8083
else
8184
version=${{ inputs.version }}
8285
if [[ ${{ inputs.version }} == "latest" ]] || [[ ${{ inputs.version }} == "current" ]]; then

0 commit comments

Comments
 (0)