From bfccbb295bf550b0cead1dec7770da9d764c17b0 Mon Sep 17 00:00:00 2001 From: MiaoMint <1981324730@qq.com> Date: Mon, 7 Aug 2023 22:16:32 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E5=85=88=E7=94=9F=E6=88=90=20change=20lo?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 988f4db2..253b130d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,20 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: + generate-changelog: + # needs: ["build-and-release-android", "build-and-release-windows"] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: actions/setup-node@v3 + with: + node-version: 16.x + - run: npx changelogithub + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + # This workflow contains a single job called "build" build-and-release-android: # The type of runner that the job will run on @@ -49,6 +63,7 @@ jobs: with: artifacts: "build/app/outputs/flutter-apk/app-*.apk" allowUpdates: true + omitBody: true # build-and-release-linux: # runs-on: ubuntu-latest @@ -117,21 +132,4 @@ jobs: with: artifacts: "build/windows/runner/Release/Miru-${{github.ref_name}}-windows.zip,Output/*.exe" allowUpdates: true - - generate-changelog: - needs: - [ - "build-and-release-android", - "build-and-release-windows", - ] - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - uses: actions/setup-node@v3 - with: - node-version: 16.x - - run: npx changelogithub - env: - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + omitBody: true