Skip to content

Commit

Permalink
build shell
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiram committed Feb 16, 2023
1 parent 80218f5 commit add7510
Showing 1 changed file with 20 additions and 14 deletions.
34 changes: 20 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: release-build
name: Build/release

on:
push:
tags:
- v*.*.*
on: push

jobs:
release:
Expand All @@ -14,14 +11,23 @@ jobs:
os: [windows-latest, macos-latest, ubuntu-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- name: Check out Git repository
uses: actions/checkout@v1
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 16
- name: Build/release Electron app
uses: samuelmeuli/[email protected]
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/v') }}

skip_build: true

- run: |
yarn
yarn release
shell: pwsh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
use_vue_cli: true

0 comments on commit add7510

Please sign in to comment.