Skip to content

Commit 542cbd9

Browse files
committed
Extract files for debugging
1 parent 51b77d7 commit 542cbd9

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

.github/workflows/cdk_release_code.yml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ jobs:
8484
run: |
8585
mkdir -p .build
8686
tar -xf artifact.tar -C .build
87+
echo "Extracted files:"
88+
find .build -type f | head -20
8789
8890
- name: Retrieve AWS Account ID
8991
id: retrieve-account-id
@@ -99,27 +101,6 @@ jobs:
99101
docker pull "${{ env.ACCOUNT_ID }}.dkr.ecr.eu-west-2.amazonaws.com/cdk-utils-build-repo:latest"
100102
docker tag "${{ env.ACCOUNT_ID }}.dkr.ecr.eu-west-2.amazonaws.com/cdk-utils-build-repo:latest" cdk-utils-build-repo:latest
101103
102-
- name: Check for version.txt in cdk-utils-build container
103-
run: |
104-
echo "🔍 Inspecting cdk-utils-build-repo:latest for version.txt"
105-
106-
docker run --rm cdk-utils-build-repo:latest /bin/bash -c '
107-
echo "Looking for version.txt in common paths..."
108-
109-
for path in /version.txt /home/cdkuser/workspace/version.txt /app/version.txt /opt/version.txt; do
110-
if [ -f "$path" ]; then
111-
echo "✅ Found version.txt at $path"
112-
echo "----------------------------------------"
113-
cat "$path"
114-
echo "----------------------------------------"
115-
exit 0
116-
fi
117-
done
118-
119-
echo "❌ version.txt not found in expected locations"
120-
exit 1
121-
'
122-
123104
- name: Configure AWS Credentials
124105
id: connect-aws
125106
uses: aws-actions/configure-aws-credentials@v4

0 commit comments

Comments
 (0)