Skip to content

Commit

Permalink
test again...
Browse files Browse the repository at this point in the history
  • Loading branch information
drkameleon committed May 21, 2024
1 parent 85962b3 commit 06cee1f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,13 @@ runs:
xbase=${entry##*/}
xpref=${xbase%.*}
sudo chmod +x $xpref
echo "EXEFILE=$xpref" >> $GITHUB_ENV
else
arturo --bundle --as:${{ inputs.target }} ${{ inputs.entry }}
sudo chmod +x ${{ inputs.target }}
echo "EXEFILE=${{ inputs.target }}" >> $GITHUB_ENV
fi
shell: bash

Expand All @@ -48,8 +52,13 @@ runs:
export PATH="${{ github.workspace }}/nim/nim-2.0.4/bin":$PATH
if [ "${{ inputs.target }}" = "auto" ]; then
arturo --bundle ${{ inputs.entry }}
entry="${{ inputs.entry }}"
xbase=${entry##*/}
xpref=${xbase%.*}
echo "XPREF = $xpref"
else
arturo --bundle --as:${{ inputs.target }} ${{ inputs.entry }}
echo "EXEFILE=${{ inputs.target }}" >> $GITHUB_ENV
fi
shell: msys2 {0}

Expand Down

0 comments on commit 06cee1f

Please sign in to comment.