Back to testing workflow
All checks were successful
Check / mypy (push) Successful in 2m35s
Check / ruff (push) Successful in 7s

This commit is contained in:
Christoph Stahl 2025-06-23 11:16:34 +02:00
parent ea53fd309d
commit f6893608fb

View file

@ -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