Skip to content

Fixed brew and changed default ssh keygen comment to username@host #30

Fixed brew and changed default ssh keygen comment to username@host

Fixed brew and changed default ssh keygen comment to username@host #30

name: Build AppImage (Linux)
on:
push:
branches: [ master ]
tags: [ 'v*', '*.*.*' ]
pull_request:
branches: [ master ]
jobs:
appimage:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies and appimage-builder
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
squashfs-tools zsync desktop-file-utils appstream file patchelf libglib2.0-bin fakeroot \
git meson ninja-build python3-pip python3-setuptools python3-wheel ca-certificates \
python3-gi \
libgtksourceview-5-dev libgtk-4-dev libadwaita-1-dev libglib2.0-dev libpango1.0-dev pkg-config gobject-introspection
python -m pip install --upgrade pip
python -m pip install --user "appimage-builder==0.8.2"
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Build and install blueprint-compiler (v0.18.0)
run: |
git clone --depth=1 --branch v0.18.0 https://gitlab.gnome.org/GNOME/blueprint-compiler.git
cd blueprint-compiler
export PATH="/usr/bin:$PATH"
env PYTHON=/usr/bin/python3 meson setup build
ninja -C build
sudo meson install -C build
which blueprint-compiler && env PATH="/usr/bin:$PATH" blueprint-compiler --version
- name: Warm AppRun runtime cache
run: |
set -euo pipefail
mkdir -p appimage-builder-cache/runtime
curl -fL --retry 5 --retry-all-errors \
https://github.com/AppImageCrafters/AppRun/releases/download/v1.2.3/AppRun-Release-x86_64 \
-o appimage-builder-cache/runtime/AppRun-Release-x86_64
curl -fL --retry 5 --retry-all-errors \
https://github.com/AppImageCrafters/AppRun/releases/download/v1.2.3/libapprun_hooks-Release-x86_64.so \
-o appimage-builder-cache/runtime/libapprun_hooks-Release-x86_64.so
file appimage-builder-cache/runtime/AppRun-Release-x86_64 | tee /dev/stderr
file appimage-builder-cache/runtime/libapprun_hooks-Release-x86_64.so | tee /dev/stderr
- name: Build AppImage
run: |
export PATH="/usr/bin:$PATH"
export PYTHON="/usr/bin/python3"
export ARCH=x86_64
appimage-builder --recipe AppImageBuilder.yml --skip-test
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: SSH-Studio-AppImage
path: '*.AppImage'
- name: Publish Release Asset
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
files: |
*.AppImage
*.zsync
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}