Bump electron from 28.1.0 to 28.1.1 #128
Workflow file for this run
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/release | |
on: push | |
jobs: | |
release: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest] | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v1 | |
- name: Install Node.js, NPM and Yarn | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- run: npm i -g electron-builder | |
- run: sudo dpkg --add-architecture i386 | |
if: matrix.os == 'ubuntu-latest' | |
- run: wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add - | |
if: matrix.os == 'ubuntu-latest' | |
- run: sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport | |
if: matrix.os == 'ubuntu-latest' | |
- run: sudo apt-add-repository "deb https://dl.winehq.org/wine-builds/ubuntu $(lsb_release -cs) main" | |
if: matrix.os == 'ubuntu-latest' | |
- run: sudo apt install --install-recommends winehq-stable | |
if: matrix.os == 'ubuntu-latest' | |
- name: Install Snapcraft | |
uses: samuelmeuli/action-snapcraft@v1 | |
# Only install Snapcraft on Ubuntu | |
if: startsWith(matrix.os, 'ubuntu') | |
with: | |
# Log in to Snap Store | |
snapcraft_token: ${{ secrets.snapcraft_token }} | |
- name: Build/release Electron app | |
uses: samuelmeuli/action-electron-builder@v1 | |
with: | |
# GitHub token, automatically provided to the action | |
# (No need to define this secret in the repo settings) | |
github_token: ${{ secrets.github_token }} | |
# If the commit is tagged with a version (e.g. "v1.0.0"), | |
# release the app after building | |
release: ${{ startsWith(github.ref, 'refs/tags/') }} | |
skip_build: true |