Back to testing workflow
This commit is contained in:
parent
ea53fd309d
commit
f6893608fb
1 changed files with 11 additions and 8 deletions
19
.github/workflows/build-appimage.yaml
vendored
19
.github/workflows/build-appimage.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue