From 7c4fe8b7c6d626c6869ac97ce6476f96f341e28d Mon Sep 17 00:00:00 2001 From: Wivik <48727868+Wivik@users.noreply.github.com> Date: Mon, 21 Aug 2023 18:48:42 +0200 Subject: [PATCH] ci: add workflow --- .github/workflows/release.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..ebed00a --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,28 @@ +name: Release theme + +on: + workflow_dispatch: + +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + + - name: Checkout + uses: actions/checkout@v3 + + - name: Produce release note + uses: TriPSs/conventional-changelog-action@v3 + id: changelog + with: + github-token: ${{ secrets.github_token }} + version-file: './version_file.json' + + - name: Publish release + uses: softprops/action-gh-release@v1 + if: ${{ steps.changelog.outputs.tag }} + with: + body: ${{ steps.changelog.outputs.clean_changelog }} + tag_name: ${{ steps.changelog.outputs.tag }}