Skip to content

Merge pull request #54 from josephdadams/dependabot/npm_and_yarn/app-… #123

Merge pull request #54 from josephdadams/dependabot/npm_and_yarn/app-…

Merge pull request #54 from josephdadams/dependabot/npm_and_yarn/app-… #123

Workflow file for this run

name: Build
on: [push, workflow_dispatch]
jobs:
build_desktop:
name: Build Desktop on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v1
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 18
- name: Install dependencies
run: npm i
- name: Build
uses: samuelmeuli/action-electron-builder@v1.6.0
with:
github_token: ${{ secrets.github_token }}
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
skip_build: true
## - name: Get current version
## uses: Saionaro/extract-package-version@v1.0.6
## id: package-version
## - name: Upload Artifact
## uses: actions/upload-artifact@v2
## if: matrix.os == 'ubuntu-latest'
## with:
## name: 'PresentationBridgeClient-${{ steps.package-version.outputs.version }}-Linux'
## path: 'release/PresentationBridgeClient-${{ steps.package-version.outputs.version }}.AppImage'
## - name: Upload Artifact
## uses: actions/upload-artifact@v2
## if: matrix.os == 'macos-latest'
## with:
## name: 'PresentationBridgeClient-${{ steps.package-version.outputs.version }}-MacOS'
## path: 'release/PresentationBridgeClient-${{ steps.package-version.outputs.version }}.dmg'
## - name: Upload Artifact
## uses: actions/upload-artifact@v2
## if: matrix.os == 'windows-latest'
## with:
## name: 'PresentationBridgeClient-${{ steps.package-version.outputs.version }}-Windows'
## path: 'release/PresentationBridgeClient Setup ${{ steps.package-version.outputs.version }}.exe'