From 9c5eb4166f420814eb3f63f0cdce7813eb061afc Mon Sep 17 00:00:00 2001 From: Reza Rahemtola Date: Wed, 11 Oct 2023 21:51:18 +0200 Subject: [PATCH] ci(docs): Building changelog on new release --- .../{release-apk.yml => on-release.yml} | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) rename .github/workflows/{release-apk.yml => on-release.yml} (76%) diff --git a/.github/workflows/release-apk.yml b/.github/workflows/on-release.yml similarity index 76% rename from .github/workflows/release-apk.yml rename to .github/workflows/on-release.yml index d7ecb90a..655966ea 100644 --- a/.github/workflows/release-apk.yml +++ b/.github/workflows/on-release.yml @@ -6,8 +6,9 @@ on: - published jobs: - build: + build-apk-release: runs-on: ubuntu-latest + name: "Build APK & add it to the release" defaults: run: working-directory: ./frontend/mobile @@ -44,3 +45,16 @@ jobs: upload_url: ${{ github.event.release.upload_url }} asset_path: frontend/mobile/build/app/outputs/flutter-apk/app-release.apk asset_name: area.apk + + documentation-changelog: + runs-on: ubuntu-latest + name: "Generate documentation changelog" + steps: + - uses: actions/checkout@v4 + with: + ref: main + - uses: rhysd/changelog-from-release/action@v3 + with: + file: docs/CHANGELOG.md + github_token: ${{ secrets.GITHUB_TOKEN }} + pull_request: true