From f6893608fb4e99a7b18069c49d92f0766eb9f9d4 Mon Sep 17 00:00:00 2001 From: Christoph Stahl Date: Mon, 23 Jun 2025 11:16:34 +0200 Subject: [PATCH] Back to testing workflow --- .github/workflows/build-appimage.yaml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-appimage.yaml b/.github/workflows/build-appimage.yaml index 9453d51..a1a683a 100644 --- a/.github/workflows/build-appimage.yaml +++ b/.github/workflows/build-appimage.yaml @@ -16,22 +16,25 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - name: Check out repository - run: git clone https://github.com/christofsteel/syng /syng + uses: actions/checkout@v4 + with: + repository: christofsteel/syng + - name: Install poetry + run: pip install poetry - name: Extract version from Poetry id: get_version - run: cd /syng && echo "VERSION=$(poetry version -s)" >> $GITHUB_ENV + run: echo "VERSION=$(poetry version -s)" >> $GITHUB_ENV shell: bash - name: Preparing Build dir run: | - mkdir /app - mkdir /app/bin - cp /syng/resources/appimage/build.sh /app/build.sh - cp /syng/resources/appimage/bin/* /app/bin/ + mkdir -p app/bin + cp syng/resources/appimage/build.sh app/build.sh + cp syng/resources/appimage/bin/* app/bin/ - name: Building AppDir uses: addnab/docker-run-action@v3 with: image: ghcr.io/christofsteel/syng-appimage-builder:main - options: -v /app:/app + options: -v v ${{ github.workspace }}/app:/app run: | /app/build.sh export APPIMAGE_EXTRACT_AND_RUN=1 @@ -40,4 +43,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: Syng Version ${{ env.VERSION }} AppImage - path: /app/Syng-x86_64.AppImage + path: app/Syng-x86_64.AppImage