Update build-flatpak.yml

This commit is contained in:
overcuriousity 2025-06-24 20:47:54 +00:00 committed by GitHub
parent 98765ce999
commit 5ef0c7b346
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,20 +76,20 @@ jobs:
VERSION="${{ github.event.inputs.autopsy_version || 'autopsy-4.22.1' }}"
flatpak build-bundle repo autopsy-${VERSION}.flatpak org.sleuthkit.Autopsy stable
- name: Test installation
run: |
export DC_DIR="/tmp/dconf"
mkdir -p "$DC_DIR"
export DCONF_USER_CONFIG="$DC_DIR/user"
export XDG_RUNTIME_DIR="$DC_DIR"
# Install the bundle
sudo flatpak install -y --noninteractive autopsy-*.flatpak
# Basic smoke test
flatpak info org.sleuthkit.Autopsy
# Check that binary exists
flatpak run --command=sh org.sleuthkit.Autopsy -c "test -x /app/bin/autopsy && echo 'Binary check passed'"
#- name: Test installation
# run: |
# export DC_DIR="/tmp/dconf"
# mkdir -p "$DC_DIR"
# export DCONF_USER_CONFIG="$DC_DIR/user"
# export XDG_RUNTIME_DIR="$DC_DIR"
# # Install the bundle
# sudo flatpak install -y --noninteractive autopsy-*.flatpak
#
# # Basic smoke test
# flatpak info org.sleuthkit.Autopsy
#
# # Check that binary exists
# flatpak run --command=sh org.sleuthkit.Autopsy -c "test -x /app/bin/autopsy && echo 'Binary check passed'"
- name: Upload artifacts
uses: actions/upload-artifact@v4