Skip to content

Releases: git-developer/build-appimage

v1.3.1

25 Sep 03:48

Choose a tag to compare

This release adds a new optional input argument command that is used instead of the default command build-appimage. Its main purpose is support for preprocessing before the AppImage builder is started.

Example

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Build AppImage
        uses: git-developer/build-appimage@v1.3.1
        with:
          command: ${{ format('sh -c "set -eu; {0}; appimage-builder --recipe {1}"',
                         'find /usr/local/lib -name package.py | while read -r file; do sed -i -e \"s/^from.packaging/&_legacy/\" \"${file}\"; done',
                         matrix.base.recipe
                   ) }}

This example patches package.py before starting the AppImage build.