Skip to content

Merge pull request #189 from EasyAbp/abp-8.2 #81

Merge pull request #189 from EasyAbp/abp-8.2

Merge pull request #189 from EasyAbp/abp-8.2 #81

Workflow file for this run

name: draft a release
on:
push:
tags:
- v*
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Prepare Git
run: |-
git config --global core.longpaths true
git config --global core.autocrlf false
git config --global core.eol lf
- name: Check out Git repository with submodules
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 16
- 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 }}
mac_certs: ${{ secrets.mac_certs }}
mac_certs_password: ${{ secrets.mac_certs_password }}
# release the app after building
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
package_root: "./electron"
build_script_name: "package"