Update workflow schedule, set explicit runner version and specify build tools version for signing

Also remove issue template. We don't use them anyway.
This commit is contained in:
AntsyLich 2025-02-28 01:07:18 +06:00
parent 95421621dd
commit 01fc590efc
No known key found for this signature in database
2 changed files with 7 additions and 13 deletions

View File

@ -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

View File

@ -1,9 +1,9 @@
name: Build job name: Build job
on: on:
# Every Thursday at 18:00 UTC # Every Thursday at 17:30 UTC
schedule: schedule:
- cron: '0 18 * * 4' - cron: '30 17 * * 4'
# Manual triggers # Manual triggers
workflow_dispatch: workflow_dispatch:
inputs: inputs:
@ -17,7 +17,7 @@ on:
jobs: jobs:
build: build:
name: Build app name: Build app
runs-on: ubuntu-latest runs-on: 'ubuntu-24.04'
steps: steps:
- name: Clone Repository (Latest) - name: Clone Repository (Latest)
@ -47,20 +47,22 @@ jobs:
run: ./gradlew assemblePreview -Pwith-analytics -Pwith-updater run: ./gradlew assemblePreview -Pwith-analytics -Pwith-updater
- name: Sign APK - name: Sign APK
uses: r0adkll/sign-android-release@349ebdef58775b1e0d8099458af0816dc79b6407 # v1 uses: r0adkll/sign-android-release@f30bdd30588842ac76044ecdbd4b6d0e3e813478
with: with:
releaseDirectory: app/build/outputs/apk/preview releaseDirectory: app/build/outputs/apk/preview
signingKeyBase64: ${{ secrets.SIGNING_KEY }} signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.ALIAS }} alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }} keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }} keyPassword: ${{ secrets.KEY_PASSWORD }}
env:
BUILD_TOOLS_VERSION: '35.0.1'
- name: Get previous release - name: Get previous release
id: last_release id: last_release
uses: InsonusK/get-latest-release@7a9ff16c8c6b7ead5d71c0f1cc61f2703170eade # v1.1.0 uses: InsonusK/get-latest-release@7a9ff16c8c6b7ead5d71c0f1cc61f2703170eade # v1.1.0
with: with:
myToken: ${{ github.token }} myToken: ${{ github.token }}
exclude_types: "draft|prerelease" exclude_types: 'draft|prerelease'
view_top: 1 view_top: 1
- name: Prepare changelog - name: Prepare changelog