This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
chore(deps): update dependency electron-builder to v24 #185
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 19.x | |
- name: Cache .yarn/cache | |
uses: actions/cache@v2 | |
with: | |
path: ~/.yarn/cache | |
key: ${{ runner.os }}-yarn-${{ hashFiles('package.json') }} | |
restore-keys: ${{ runner.os }}-gradle | |
- name: Setup Project | |
run: | | |
yarn install --immutable | |
- name: Build Electron App | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: yarn dist | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: AppImage | |
path: dist/*.AppImage | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: Deb | |
path: dist/*.deb | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: Rpm | |
path: dist/*.rpm | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: Snap | |
path: dist/*.snap | |