From 3081a384c50ad83deb1e680acb386f9e14ab6e90 Mon Sep 17 00:00:00 2001 From: DARKZOUL5 Date: Sat, 7 Mar 2026 19:44:16 +0200 Subject: [PATCH] Add debug steps for Linux artifact extraction and contents verification --- .github/workflows/release.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6516e98..01b6852 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -189,10 +189,31 @@ jobs: with: name: linux-zip + - name: Debug artifact contents + run: | + echo "Current directory: $(pwd)" + echo "Listing top-level files:" + ls -lh + echo "Listing linux-zip directory contents:" + ls -lh linux-zip || echo "linux-zip does not exist" + echo "Tree of linux-zip (if installed):" + if command -v tree &> /dev/null; then + tree linux-zip || echo "linux-zip tree failed" + fi + - name: Extract linux artifact run: | mkdir -p dist/linux - tar -xzf linux-zip/yt-playlist-linux-${{ steps.version.outputs.version }}.tar.gz -C dist/linux + tar -xzf linux-zip/yt-playlist-linux-${{ steps.version.outputs.version }}.tar.gz -C dist/linux || \ + (echo "Extraction failed"; ls -lh linux-zip; exit 1) + + - name: Debug dist/linux + run: | + echo "Listing dist/linux after extraction:" + ls -lh dist/linux + if command -v tree &> /dev/null; then + tree dist/linux + fi - name: Build Docker image (release) run: docker build dist/linux -t $RELEASE_IMAGE