From 8992695011ea69266b119c1dac270f5fb3949e11 Mon Sep 17 00:00:00 2001 From: Bambooin Date: Thu, 18 Jan 2024 17:13:24 +0800 Subject: [PATCH 1/2] ci: remove nightly build job 1. This is duplicated with commit ci 2. This will break all forked repo without secret setting 3. The ci status failed due to nightly build --- .github/workflows/release-ci.yml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/.github/workflows/release-ci.yml b/.github/workflows/release-ci.yml index 51b0d303d9..61e93bc78a 100644 --- a/.github/workflows/release-ci.yml +++ b/.github/workflows/release-ci.yml @@ -1,8 +1,6 @@ name: Release on: push: - branches: - - develop tags: - '*' env: @@ -80,24 +78,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Create Nightly release - if: ${{ github.ref == 'refs/heads/develop' }} + - name: Create release uses: ncipollo/release-action@v1 with: - allowUpdates: true - prerelease: true - artifacts: "app/build/outputs/apk/release/*.apk" - name: "Nightly Build" - tag: nightly - generateReleaseNotes: true - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Create Stable release - if: ${{ github.ref != 'refs/heads/develop' }} - uses: ncipollo/release-action@v1 - with: - allowUpdates: true - prerelease: ${{ contains(github.ref_name, 'alpha') || contains(github.ref_name, 'beta') }} artifacts: "app/build/outputs/apk/release/*.apk" body: | ${{ steps.build_changelog.outputs.changelog }} From b11ca7b43f679509797d3b0b407d150635ef7d49 Mon Sep 17 00:00:00 2001 From: Bambooin Date: Thu, 18 Jan 2024 17:33:14 +0800 Subject: [PATCH 2/2] doc: clean nightly build document --- README.md | 2 -- README_sc.md | 2 -- README_tc.md | 2 -- 3 files changed, 6 deletions(-) diff --git a/README.md b/README.md index 762111dcf9..9ad4e1e724 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,6 @@ Trime is originally a frontend of open-source [Android Traditional Chinese IME], [Google Play Download Now](https://play.google.com/store/apps/details?id=com.osfans.trime) [Coolapk](https://www.coolapk.com/apk/com.osfans.trime) -- Nightly Channel [Download](https://github.com/osfans/trime/releases/tag/nightly) - - Canary Channel [Download](https://github.com/osfans/trime/actions) - Configurations [rimerc](https://github.com/Bambooin/rimerc) diff --git a/README_sc.md b/README_sc.md index 6a4a6a42b0..c7fd6449f7 100644 --- a/README_sc.md +++ b/README_sc.md @@ -17,8 +17,6 @@ [Google Play 立即下载](https://play.google.com/store/apps/details?id=com.osfans.trime) [酷安](https://www.coolapk.com/apk/com.osfans.trime) -- 每夜版 [点击下载](https://github.com/osfans/trime/releases/tag/nightly) - - 测试版 [点击下载](https://github.com/osfans/trime/actions) - 配置文档 [rimerc](https://github.com/Bambooin/rimerc) diff --git a/README_tc.md b/README_tc.md index 544d43a575..729b08062d 100644 --- a/README_tc.md +++ b/README_tc.md @@ -17,8 +17,6 @@ [Google Play 立即下載](https://play.google.com/store/apps/details?id=com.osfans.trime) [酷安](https://www.coolapk.com/apk/com.osfans.trime) -- 每夜版 [點選下載](https://github.com/osfans/trime/releases/tag/nightly) - - 測試版 [點選下載](https://github.com/osfans/trime/actions) - 配置文件 [rimerc](https://github.com/Bambooin/rimerc)