mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 12:50:22 +00:00
Update build-flatpak.yml
This commit is contained in:
parent
98765ce999
commit
5ef0c7b346
28
.github/workflows/build-flatpak.yml
vendored
28
.github/workflows/build-flatpak.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user