Skip to content

Commit acc26a3

Browse files
committed
where is it
1 parent 89f3386 commit acc26a3

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/build-and-release.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,21 @@ jobs:
7878
shell: bash
7979
run: |
8080
artifact_dir=$(find * -maxdepth 0 -type d -name "offstyle-database-*" | head -n 1)
81+
echo "Found artifact dir: $artifact_dir"
82+
echo "Contents:"
83+
ls -la "$artifact_dir"
8184
zip_name="offstyle-database-${{ github.ref_name }}.zip"
8285
cd "$artifact_dir"
83-
zip -rq "../$zip_name" addons/
86+
echo "Current directory after cd:"
87+
pwd
88+
ls -la
89+
if [ -d "addons" ]; then
90+
echo "addons directory exists, zipping..."
91+
zip -rq "../$zip_name" addons/
92+
else
93+
echo "addons directory does not exist!"
94+
exit 1
95+
fi
8496
cd ..
8597
echo "zip_file=$zip_name" >> $GITHUB_ENV
8698

0 commit comments

Comments
 (0)