Skip to content

Commit

Permalink
feat: use auto relase action #3
Browse files Browse the repository at this point in the history
Signed-off-by: seven <[email protected]>
  • Loading branch information
Blankll committed Jan 14, 2024
1 parent 08a203f commit 6f00fee
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@ name: distributions release

on:
push:
branches: [master]
pull_request:
branches: [master]
tags:
- 'v*.*.*'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
pre-release:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
Expand All @@ -36,7 +35,12 @@ jobs:
- run: npm run build
- name: Build app
run: ./scripts/make-distributions.sh
- name: Publish app
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./scripts/release.sh
release:
- name: Release App
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
LICENSE
out/make/*

0 comments on commit 6f00fee

Please sign in to comment.