mirror of
https://github.com/imgfloat/server.git
synced 2026-02-05 03:39:26 +00:00
Add APPDIR
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -16,6 +16,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
timeout-minutes: 5
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -33,6 +34,7 @@ jobs:
|
||||
run: mvn -B verify
|
||||
|
||||
electron-build:
|
||||
timeout-minutes: 5
|
||||
name: Electron packages (${{ matrix.os }})
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
runs-on: ${{ matrix.os }}
|
||||
@@ -73,8 +75,7 @@ jobs:
|
||||
./dist/*.AppImage --appimage-extract
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y xvfb
|
||||
cd squashfs-root
|
||||
xvfb-run squashfs-root/AppRun --no-sandbox
|
||||
APPDIR="$(pwd)" xvfb-run ./AppRun --no-sandbox
|
||||
|
||||
- name: Smoke test Windows exe
|
||||
if: matrix.os == 'windows-latest'
|
||||
@@ -100,6 +101,7 @@ jobs:
|
||||
dist/*.dmg
|
||||
|
||||
docker:
|
||||
timeout-minutes: 5
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user