Skip to content

Commit

Permalink
change deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsugu committed Aug 12, 2024
1 parent e88c9f1 commit 737bed0
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,26 +68,26 @@ jobs:
cd artifacts
# List files to confirm existence
echo "Listing files in ubuntu-latest/"
ls -la ubuntu-latest
echo "Listing files in build-ubuntu-latest/"
ls -la build-ubuntu-latest
echo "Listing files in macos-latest/"
ls -la macos-latest
echo "Listing files in build-macos-latest/"
ls -la build-macos-latest
echo "Listing files in windows-latest/"
ls -la windows-latest
echo "Listing files in build-windows-latest/"
ls -la build-windows-latest
# Create ZIP files
if [ -f ubuntu-latest/addframe-linux ] && [ -f ubuntu-latest/addframe.json ]; then
zip -r zipped/addframe-linux.zip ubuntu-latest/addframe-linux ubuntu-latest/addframe.json
if [ -f build-ubuntu-latest/addframe-linux ] && [ -f build-ubuntu-latest/addframe.json ]; then
zip -r zipped/addframe-linux.zip build-ubuntu-latest/addframe-linux build-ubuntu-latest/addframe.json
fi
if [ -f macos-latest/addframe-macos ] && [ -f macos-latest/addframe.json ]; then
zip -r zipped/addframe-macos.zip macos-latest/addframe-macos macos-latest/addframe.json
if [ -f build-macos-latest/addframe-macos ] && [ -f build-macos-latest/addframe.json ]; then
zip -r zipped/addframe-macos.zip build-macos-latest/addframe-macos build-macos-latest/addframe.json
fi
if [ -f windows-latest/addframe.exe ] && [ -f windows-latest/addframe.json ]; then
zip -r zipped/addframe-windows.zip windows-latest/addframe.exe windows-latest/addframe.json
if [ -f build-windows-latest/addframe.exe ] && [ -f build-windows-latest/addframe.json ]; then
zip -r zipped/addframe-windows.zip build-windows-latest/addframe.exe build-windows-latest/addframe.json
fi
shell: bash

Expand Down

0 comments on commit 737bed0

Please sign in to comment.