Fix ts err #149
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: Release | |
on: | |
push: | |
# If the commit is tagged with a version (e.g. "1.0.0") release the app after building | |
tags: ["*"] | |
jobs: | |
release: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-13, windows-2022, ubuntu-20.04] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "yarn" | |
- run: yarn install --frozen-lockfile | |
- uses: battila7/get-version-action@v2 | |
id: get_version | |
- name: Replace version | |
run: yarn version --no-git-tag-version --new-version ${{ steps.get_version.outputs.version }} | |
- name: Install rpmbuild | |
run: sudo apt install -y rpm | |
# Only install rpmbuild on Ubuntu | |
if: startsWith(matrix.os, 'ubuntu') | |
- name: Bundle & release | |
uses: samuelmeuli/action-electron-builder@v1 | |
with: | |
build_script_name: "build" | |
release: true | |
github_token: ${{ secrets.github_token }} | |
# macOS code signing certificate | |
mac_certs: ${{ secrets.mac_certs }} | |
mac_certs_password: ${{ secrets.mac_certs_password }} | |
# Windows code signing certificate | |
# windows_certs: ${{ secrets.windows_certs }} | |
# windows_certs_password: ${{ secrets.windows_certs_password }} | |
env: | |
APPLEID: ${{ secrets.APPLEID }} | |
APPLEIDPASS: ${{ secrets.APPLEIDPASS }} |