Skip to content

Commit

Permalink
ci: add auto release github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Bambooin committed Jun 18, 2021
1 parent 78507b8 commit 6692b8d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release ci
on: [tags]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout last commit
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: 'recursive'

- name: Archive config
run: make archive

- name: Build changelog
uses: mikepenz/release-changelog-builder-action@v1
id: changelog
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create release
uses: ncipollo/release-action@v1
with:
artifact: "release/*.zip"
draft: true
body: |
${{ steps.changlog.outputs.changelog }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6692b8d

Please # to comment.