From 7e2e588dac81ac9bd3e1f111b64aa1eb0e02e557 Mon Sep 17 00:00:00 2001 From: jon-dez <48642222+jon-dez@users.noreply.github.com> Date: Fri, 20 Mar 2026 22:16:42 -0400 Subject: [PATCH 1/2] Update GitHub Actions workflow for AppImage release: change submodule checkout to recursive, modify build command to use 'run' instead of 'up', and add check for AppImage existence before uploading. --- .github/workflows/release-appimage.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-appimage.yml b/.github/workflows/release-appimage.yml index ce9e2b1..5c55aae 100644 --- a/.github/workflows/release-appimage.yml +++ b/.github/workflows/release-appimage.yml @@ -18,11 +18,13 @@ jobs: - name: Build AppImage run: | - docker compose -f packaging/docker-compose.appimage.yml up --build + docker compose -f packaging/docker-compose.appimage.yml run --rm --build jctoolkit-appimage - name: Create draft release and upload AppImage env: GH_TOKEN: ${{ github.token }} run: | + APPIMAGE="${{ github.workspace }}/dist/JCToolKit-x86_64.AppImage" + test -f "$APPIMAGE" || { echo "AppImage not found at $APPIMAGE"; ls -la dist/ 2>/dev/null || true; exit 1; } gh release create "${{ github.event.inputs.tag }}" --draft --title "${{ github.event.inputs.tag }}" || true - gh release upload "${{ github.event.inputs.tag }}" dist/JCToolKit-x86_64.AppImage --clobber + gh release upload "${{ github.event.inputs.tag }}" "$APPIMAGE" --clobber From 1dc52dfb0d46121934433dd4b00b76ec09c7be5a Mon Sep 17 00:00:00 2001 From: jon-dez <48642222+jon-dez@users.noreply.github.com> Date: Fri, 20 Mar 2026 22:19:24 -0400 Subject: [PATCH 2/2] Enhance GitHub Actions workflow for AppImage release: set fetch-depth to 0, change submodule checkout to recursive, and add initialization step for submodules. --- .github/workflows/release-appimage.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-appimage.yml b/.github/workflows/release-appimage.yml index 5c55aae..21f31bf 100644 --- a/.github/workflows/release-appimage.yml +++ b/.github/workflows/release-appimage.yml @@ -14,7 +14,11 @@ jobs: - name: Checkout uses: actions/checkout@v6 with: - submodules: true + fetch-depth: 0 + submodules: recursive + + - name: Initialize submodules + run: git submodule update --init --recursive - name: Build AppImage run: |