Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
kuaifan committed Dec 21, 2021
1 parent ae52803 commit 675f00b
Showing 1 changed file with 26 additions and 19 deletions.
45 changes: 26 additions & 19 deletions .github/workflows/electron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,13 @@ on:
- 'v*'

jobs:
build:

runs-on: ${{ matrix.os }}
environment: build

strategy:
matrix:
os: [macos-11]
platform: [
build-mac,
build-mac-arm,
build-win
]

release:
runs-on: ubuntu-latest
if: startsWith(github.event.ref, 'refs/tags/v')
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x

- name: Changelog
uses: scottbrenner/generate-changelog-action@master
id: Changelog
Expand All @@ -48,6 +32,29 @@ jobs:
draft: false
prerelease: false

build:
runs-on: ${{ matrix.os }}
environment: build

strategy:
matrix:
os: [macos-11]
platform: [
build-mac,
build-mac-arm,
build-win
]

if: startsWith(github.event.ref, 'refs/tags/v')
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x

- name: Build
env:
GH_TOKEN: ${{ secrets.GH_PAT }}
Expand Down

0 comments on commit 675f00b

Please sign in to comment.