mirror of
https://github.com/imgfloat/server.git
synced 2026-02-05 03:39:26 +00:00
Remove client
This commit is contained in:
54
.github/workflows/ci.yml
vendored
54
.github/workflows/ci.yml
vendored
@@ -33,60 +33,6 @@ jobs:
|
||||
- name: Build and test
|
||||
run: mvn -B verify
|
||||
|
||||
electron-build:
|
||||
timeout-minutes: 10
|
||||
name: Electron packages (${{ matrix.os }})
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
build-command: npx electron-builder --linux AppImage --publish never
|
||||
artifact-name: electron-linux
|
||||
- os: windows-latest
|
||||
build-command: npx electron-builder --win nsis --publish never
|
||||
artifact-name: electron-windows
|
||||
- os: macos-latest
|
||||
build-command: npx electron-builder --mac --publish never
|
||||
artifact-name: electron-macos
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: true
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: npm
|
||||
cache-dependency-path: package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Build Electron bundles
|
||||
run: ${{ matrix.build-command }}
|
||||
|
||||
- name: Smoke test AppImage
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: |
|
||||
chmod +x dist/*.AppImage
|
||||
./dist/*.AppImage --appimage-extract
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y xvfb
|
||||
cd squashfs-root
|
||||
APPDIR="$(pwd)" xvfb-run ./AppRun --no-sandbox
|
||||
|
||||
- name: Upload Electron artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ matrix.artifact-name }}
|
||||
path: |
|
||||
dist/*.AppImage
|
||||
dist/*.exe
|
||||
dist/*.dmg
|
||||
|
||||
docker:
|
||||
timeout-minutes: 10
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user