mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
ci: Add workflow for building macOS x86_64
This commit is contained in:
parent
5b30bae5b2
commit
7c43a49046
2
.github/workflows/dev.yml
vendored
2
.github/workflows/dev.yml
vendored
@ -1,6 +1,8 @@
|
|||||||
name: Dev
|
name: Dev
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches_ignore:
|
||||||
|
- 'feature/fix_build_scripts'
|
||||||
jobs:
|
jobs:
|
||||||
build_docker:
|
build_docker:
|
||||||
name: Build Docker image
|
name: Build Docker image
|
||||||
|
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
@ -3,10 +3,27 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'develop'
|
- 'develop'
|
||||||
|
- 'feature/fix_build_scripts'
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
IMAGE_NAME: ${{ github.repository }}
|
IMAGE_NAME: ${{ github.repository }}
|
||||||
jobs:
|
jobs:
|
||||||
|
build_macos_64:
|
||||||
|
name: Build macOS 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-mac-x64.sh
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: trilium-mac-x64.zip
|
||||||
|
path: dist/trilium-mac-x64*.zip
|
||||||
build_docker:
|
build_docker:
|
||||||
name: Build Docker image
|
name: Build Docker image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user