Skip to content

Commit 671d96b

Browse files
debug: add verbose output to download and verify steps
1 parent 56f8924 commit 671d96b

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/commons-release.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,18 @@ jobs:
8080
id: core
8181
working-directory: ${{ env.COMMONS_DIR }}
8282
run: |
83+
set -x # Enable debug output
84+
echo "PWD: $(pwd)"
85+
echo "Contents of current directory:"
86+
ls -la
87+
8388
chmod +x scripts/download-core.sh
8489
8590
# Determine core version
8691
if [ -n "${{ github.event.inputs.core_version }}" ]; then
8792
CORE_VERSION="${{ github.event.inputs.core_version }}"
8893
else
8994
# Use specific known-good version for now
90-
# TODO: Switch back to LATEST_CORE_VERSION once stable releases are working
9195
CORE_VERSION="0.1.1-dev.03aacf9"
9296
echo "Using hardcoded core version: $CORE_VERSION"
9397
fi
@@ -96,17 +100,24 @@ jobs:
96100
echo "core_version=$CORE_VERSION" >> $GITHUB_OUTPUT
97101
98102
# Download core source and dependencies
99-
RUNANYWHERE_CORE_VERSION="$CORE_VERSION" ./scripts/download-core.sh
103+
echo "Running download-core.sh..."
104+
RUNANYWHERE_CORE_VERSION="$CORE_VERSION" bash -x ./scripts/download-core.sh
100105
101106
- name: Verify Core Downloaded
102107
working-directory: ${{ env.COMMONS_DIR }}
103108
run: |
109+
echo "PWD: $(pwd)"
110+
echo "Checking third_party directory..."
111+
ls -la third_party/ || echo "third_party/ does not exist"
104112
if [ ! -d "third_party/runanywhere-core" ]; then
105113
echo "ERROR: runanywhere-core not downloaded"
106114
exit 1
107115
fi
108116
echo "Core version: $(cat third_party/runanywhere-core/DOWNLOADED_VERSION 2>/dev/null || echo 'unknown')"
117+
echo "Core contents:"
109118
ls -la third_party/runanywhere-core/
119+
echo "Dependencies:"
120+
ls -la third_party/runanywhere-core/third_party/ || echo "No third_party deps dir"
110121
111122
- name: Build iOS XCFrameworks
112123
working-directory: ${{ env.COMMONS_DIR }}

0 commit comments

Comments
 (0)