Skip to content

Commit

Permalink
Fix tests 4
Browse files Browse the repository at this point in the history
  • Loading branch information
fabasoad committed Dec 30, 2024
1 parent 0cdc9c1 commit bc3aa58
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,14 @@ runs:
if: ${{ steps.info.outputs.bin-installed == 'false' }}
id: install-ciao
run: |
tag_name="${{ steps.download-binary.outputs.tag_name }}"
version="${tag_name#v}"
version="${version%%-*}"
mv -i ${{ steps.info.outputs.bin-path }}/Ciao-${version}/* ./
rm -rf "${{ steps.info.outputs.bin-path }}"
./ciao-boot.sh local-install
bin_path="$(pwd)/build/bin"
echo "${bin_path}" >> "$GITHUB_PATH"
curl https://ciao-lang.org/boot -sSfL | sh -s -- --prebuilt-bin local-install
# tag_name="${{ steps.download-binary.outputs.tag_name }}"
# version="${tag_name#v}"
# version="${version%%-*}"
# mv -i ${{ steps.info.outputs.bin-path }}/Ciao-${version}/* ./
# rm -rf "${{ steps.info.outputs.bin-path }}"
# ./ciao-boot.sh local-install
# bin_path="$(pwd)/build/bin"
# echo "${bin_path}" >> "$GITHUB_PATH"
shell: sh
working-directory: "${{ steps.info.outputs.target-path }}"
# working-directory: "${{ steps.info.outputs.target-path }}"

0 comments on commit bc3aa58

Please sign in to comment.