diff --git a/.github/workflows/electron.yml b/.github/workflows/electron.yml index 582b9add..116b76e6 100644 --- a/.github/workflows/electron.yml +++ b/.github/workflows/electron.yml @@ -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 }}