Release v1.3.1 - Updated Changelog.md #81
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: | |
branches: | |
- master | |
- dev-* | |
tags: | |
- '**' | |
jobs: | |
release: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v1 | |
- name: Set up Python | |
if: matrix.os == 'macos-latest' | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install Python and setuptools | |
if: matrix.os == 'macos-latest' | |
run: | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install setuptools | |
- name: Install Homebrew packages | |
if: matrix.os == 'macos-latest' | |
run: | | |
brew install pango jpeg librsvg | |
- name: Install Node.js, NPM and Yarn | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 20 | |
- name: Build/release Electron app for macOS | |
if: matrix.os == 'macos-latest' | |
uses: johannesjo/action-electron-builder@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
release: ${{ startsWith(github.ref, 'refs/tags/v') }} | |
args: "--universal" | |
- name: Build/release Electron app for other platforms | |
if: matrix.os != 'macos-latest' | |
uses: johannesjo/action-electron-builder@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
release: ${{ startsWith(github.ref, 'refs/tags/v') }} |