From 01fc590efcbbd6b9d18785caf0179faa9a553b8b Mon Sep 17 00:00:00 2001 From: AntsyLich <59261191+AntsyLich@users.noreply.github.com> Date: Fri, 28 Feb 2025 01:07:18 +0600 Subject: [PATCH] Update workflow schedule, set explicit runner version and specify build tools version for signing Also remove issue template. We don't use them anyway. --- .github/ISSUE_TEMPLATE/config.yml | 8 -------- .github/workflows/build.yml | 12 +++++++----- 2 files changed, 7 insertions(+), 13 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index 9b3be54..0000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,8 +0,0 @@ -blank_issues_enabled: false -contact_links: - - name: ⚠️ Application issue - url: https://github.com/mihonapp/mihon/issues/new/choose - about: Issues and requests about the app itself should be opened in the mihon repository instead - - name: 🖥️ Mihon website - url: https://mihon.app/help/ - about: Guides, troubleshooting, and answers to common questions diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf383f6..fa3dd00 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,9 +1,9 @@ name: Build job on: - # Every Thursday at 18:00 UTC + # Every Thursday at 17:30 UTC schedule: - - cron: '0 18 * * 4' + - cron: '30 17 * * 4' # Manual triggers workflow_dispatch: inputs: @@ -17,7 +17,7 @@ on: jobs: build: name: Build app - runs-on: ubuntu-latest + runs-on: 'ubuntu-24.04' steps: - name: Clone Repository (Latest) @@ -47,20 +47,22 @@ jobs: run: ./gradlew assemblePreview -Pwith-analytics -Pwith-updater - name: Sign APK - uses: r0adkll/sign-android-release@349ebdef58775b1e0d8099458af0816dc79b6407 # v1 + uses: r0adkll/sign-android-release@f30bdd30588842ac76044ecdbd4b6d0e3e813478 with: releaseDirectory: app/build/outputs/apk/preview signingKeyBase64: ${{ secrets.SIGNING_KEY }} alias: ${{ secrets.ALIAS }} keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }} keyPassword: ${{ secrets.KEY_PASSWORD }} + env: + BUILD_TOOLS_VERSION: '35.0.1' - name: Get previous release id: last_release uses: InsonusK/get-latest-release@7a9ff16c8c6b7ead5d71c0f1cc61f2703170eade # v1.1.0 with: myToken: ${{ github.token }} - exclude_types: "draft|prerelease" + exclude_types: 'draft|prerelease' view_top: 1 - name: Prepare changelog