Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeByAidan committed Nov 7, 2023
1 parent ce61781 commit 42ab99e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,13 @@ jobs:
if: runner.os != 'Windows'
run: |
mkdir -p ${{ env.BUILD_DIR }}/ubuntu ${{ env.BUILD_DIR }}/macos
mv ${{ env.BUILD_DIR }}/largeintcalculator ${{ env.BUILD_DIR }}/ubuntu/largeintcalculator
mv ${{ env.BUILD_DIR }}/largeintcalculator ${{ env.BUILD_DIR }}/macos/largeintcalculator
if [[ -e ${{ env.BUILD_DIR }}/largeintcalculator ]]; then
mv ${{ env.BUILD_DIR }}/largeintcalculator ${{ env.BUILD_DIR }}/ubuntu/largeintcalculator
mv ${{ env.BUILD_DIR }}/largeintcalculator ${{ env.BUILD_DIR }}/macos/largeintcalculator
echo "Executable moved successfully."
else
echo "Error: largeintcalculator binary not found in the expected location."
fi
working-directory: ${{ github.workspace }}

- name: Move executable to appropriate directory (Windows)
Expand Down

0 comments on commit 42ab99e

Please sign in to comment.