Skip to content

Commit

Permalink
ci: Add build Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Jul 13, 2024
1 parent e6ff991 commit 99ea741
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build_macos_64:
build_darwin-x64:
name: Build macOS x86_64
runs-on: ubuntu-latest
steps:
Expand All @@ -24,6 +24,26 @@ jobs:
with:
name: trilium-mac-x64.zip
path: dist/trilium-mac-x64*.zip
build_linux-x64:
name: Build Linux x86_64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up node & dependencies
uses: actions/setup-node@v4
with:
node-version: 18
cache: "npm"
- run: npm ci
- run: ./bin/build-linux-x64.sh
- uses: actions/upload-artifact@v4
with:
name: trilium-linux-x64.tar.xz
path: dist/trilium-linux-x64-*.tar.xz
- uses: actions/upload-artifact@v4
with:
name: trilium_amd64.deb
path: dist/trilium_*.deb
build_docker:
name: Build Docker image
runs-on: ubuntu-latest
Expand Down

0 comments on commit 99ea741

Please sign in to comment.