Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
Pure-Peace committed Jul 17, 2020
1 parent b5b4cea commit 0af8880
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
name: Build/release

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

jobs:
release:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [windows-2019, ubuntu-18.04]
os: [macos-latest, ubuntu-latest, windows-latest]

steps:
- name: Check out Git repository
Expand All @@ -21,9 +18,14 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 13

- name: Build/release Electron app
env:
GH_TOKEN: ${{ secrets.github_token }}
run: |
npm install
npm run release
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 }}

# 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') }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cloud-disk-manager",
"version": "0.1.1",
"version": "0.1.3",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down

0 comments on commit 0af8880

Please sign in to comment.