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 66c7fc2 commit c35f028
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ jobs:
- name: Move executable to appropriate directory
run: |
mkdir -p ${{ env.BUILD_DIR }}/windows ${{ env.BUILD_DIR }}/ubuntu ${{ env.BUILD_DIR }}/macos
mv ${{ env.BUILD_DIR }}/largeintcalculator* ${{ env.BUILD_DIR }}/windows/largeintcalculator.exe
mv ${{ env.BUILD_DIR }}/largeintcalculator* ${{ env.BUILD_DIR }}/ubuntu/largeintcalculator
mv ${{ env.BUILD_DIR }}/largeintcalculator* ${{ env.BUILD_DIR }}/macos/largeintcalculator
working-directory: ${{ github.workspace }}
if [[ "$RUNNER_OS" == "Windows" ]]; then
mv ${{ env.BUILD_DIR }}/largeintcalculator.exe ${{ env.BUILD_DIR }}/windows
elif [[ "$RUNNER_OS" == "Linux" ]]; then
mv ${{ env.BUILD_DIR }}/largeintcalculator ${{ env.BUILD_DIR }}/ubuntu
elif [[ "$RUNNER_OS" == "macOS" ]]; then
mv ${{ env.BUILD_DIR }}/largeintcalculator ${{ env.BUILD_DIR }}/macos
fi
working-directory: ${{ github.workspace }}

0 comments on commit c35f028

Please sign in to comment.