Skip to content

Enable full gateway exec access for desktop config sync #24

Enable full gateway exec access for desktop config sync

Enable full gateway exec access for desktop config sync #24

Workflow file for this run

name: CD
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build:
name: Build (${{ matrix.target.name }})
runs-on: ${{ matrix.target.os }}
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
target:
- name: windows
os: windows-latest
script: npm run build:win -- --publish never
platform: windows
artifact: dram-win-build
- name: linux
os: ubuntu-latest
script: npm run build:linux -- --publish never
platform: linux
artifact: dram-linux-build
- name: macos
os: macos-latest
script: npm run build:mac -- --publish never
platform: macos
artifact: dram-macos-build
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm
- name: Install dependencies
run: npm ci
- name: Build artifact
run: ${{ matrix.target.script }}
- name: Verify installer artifacts
run: npm run verify:installers -- --platform ${{ matrix.target.platform }}
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.target.artifact }}
path: dist/**
if-no-files-found: error
retention-days: 14