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 ece00ab commit 9615d5e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,23 @@ jobs:
pwd
echo "Listing files in artifacts/"
ls -la ./artifacts
ls -la ./artifacts/
shell: bash

- name: Create ZIP files
run: |
mkdir -p artifacts/zipped-artifacts
# List files to confirm their existence before creating ZIP files
echo "Listing files in build-ubuntu-latest/"
ls -la artifacts/ubuntu-latest
echo "Listing files in build-macos-latest/"
ls -la artifacts/macos-latest
echo "Listing files in build-windows-latest/"
ls -la artifacts/windows-latest
# Create ZIP files
if [ -f artifacts/ubuntu-latest/addframe-linux ] && [ -f artifacts/ubuntu-latest/addframe.json ]; then
zip -r artifacts/zipped-artifacts/addframe-linux.zip artifacts/ubuntu-latest/addframe-linux artifacts/ubuntu-latest/addframe.json
Expand All @@ -109,6 +120,7 @@ jobs:

- name: List ZIP files
run: |
echo "Listing ZIP files in artifacts/zipped-artifacts/"
ls -la artifacts/zipped-artifacts/
shell: bash

Expand Down

0 comments on commit 9615d5e

Please sign in to comment.