Skip to content

Commit

Permalink
fix(CI): Fixed Build Drifty CI issues for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
SaptarshiSarkar12 committed Nov 19, 2023
1 parent d6c01c5 commit 9400aa4
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,17 @@ jobs:
fi
- name: Categorise build artifacts for windows
if: ${{ matrix.os == 'windows-latest' }}
shell: bash
run: |
if (${{ matrix.mode == 'CLI' }}) {
Rename-Item "target/CLI/windows/Drifty CLI.exe" Drifty-CLI.exe
move "target/CLI/windows/Drifty-CLI.exe" CLI
}
else {
Rename-Item target/gluonfx/x86_64-windows/Drifty-1.0.msi "Drifty-GUI.msi"
Rename-Item target/gluonfx/x86_64-windows/Drifty.exe "Drifty-GUI.exe"
move "target/gluonfx/x86_64-windows/Drifty-GUI.msi" GUI
move "target/gluonfx/x86_64-windows/Drifty-GUI.exe" GUI
}
if ${{ matrix.mode == 'CLI' }}; then
mv "target/CLI/windows/Drifty CLI.exe" "target/CLI/windows/Drifty-CLI.exe"
mv "target/CLI/windows/Drifty-CLI.exe" CLI
else
mv target/gluonfx/x86_64-windows/Drifty-1.0.msi "target/gluonfx/x86_64-windows/Drifty-GUI.msi"
mv target/gluonfx/x86_64-windows/Drifty.exe "target/gluonfx/x86_64-windows/Drifty-GUI.exe"
mv "target/gluonfx/x86_64-windows/Drifty-GUI.msi" GUI
mv "target/gluonfx/x86_64-windows/Drifty-GUI.exe" GUI
fi
- name: Categorise build artifacts for macOS
if: ${{ matrix.os == 'macos-latest' }}
run: |
Expand Down

1 comment on commit 9400aa4

@vercel
Copy link

@vercel vercel bot commented on 9400aa4 Nov 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.