Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HeatXD authored Oct 23, 2024
1 parent 1af8f58 commit a59ed07
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
run: >-
cmake -B build
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=GekkoLib/out
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=GekkoLib/out
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=out
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=out
-DBUILD_SHARED_LIBS=${{ matrix.build_type == 'shared' && 'ON' || 'OFF' }}
-DNO_ASIO_BUILD=${{ matrix.asio == 'no_asio' && 'ON' || 'OFF' }}
.
Expand All @@ -50,8 +50,8 @@ jobs:
run: |
cmake -B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=GekkoLib/out \
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=GekkoLib/out \
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=out \
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=out \
-DBUILD_SHARED_LIBS=${{ matrix.build_type == 'shared' && 'ON' || 'OFF' }} \
-DNO_ASIO_BUILD=${{ matrix.asio == 'no_asio' && 'ON' || 'OFF' }} \
.
Expand All @@ -63,11 +63,11 @@ jobs:
- name: List build directory contents
run: ls -R build

# Debugging step: Print GekkoLib/out directory contents (after build)
# Debugging step: Print out directory contents (after build)
- name: List output directory contents
run: |
if [ -d "GekkoLib/out" ]; then
ls -R GekkoLib/out
if [ -d "out" ]; then
ls -R out
else
echo "Output directory does not exist!"
fi
Expand All @@ -79,10 +79,10 @@ jobs:
cp -r include/* package/Release/${{ matrix.platform }}/include/ || true
# Only copy binaries if the output directory exists
if [ -d "GekkoLib/out" ]; then
cp GekkoLib/out/* package/Release/${{ matrix.platform }}/lib/ || true
if [ -d "out" ]; then
cp out/* package/Release/${{ matrix.platform }}/lib/ || true
else
echo "No binaries found in GekkoLib/out/!"
echo "No binaries found in out/!"
fi
- name: Upload Build Artifact
Expand Down

0 comments on commit a59ed07

Please sign in to comment.