Skip to content

Commit

Permalink
auto release
Browse files Browse the repository at this point in the history
  • Loading branch information
kuaifan committed Dec 21, 2021
1 parent fb8cf78 commit ae52803
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/electron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,33 @@ jobs:
]

steps:
- uses: actions/checkout@v2
- 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
env:
REPO: ${{ github.repository }}

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
${{ steps.Changelog.outputs.changelog }}
draft: false
prerelease: false

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

0 comments on commit ae52803

Please sign in to comment.