cd: optimize nightly

Add check to only run nightly if changes in the past 24 hours
This commit is contained in:
Zane Schepke
2024-09-19 16:31:37 -04:00
parent e58dad00ea
commit 230f505806
5 changed files with 45 additions and 9 deletions
+2 -3
View File
@@ -1,8 +1,6 @@
name: release-android
on:
schedule:
- cron: "4 3 * * *"
workflow_dispatch:
inputs:
track:
@@ -34,7 +32,8 @@ on:
jobs:
build:
name: Build Signed APK
if: ${{ inputs.release_type != 'none' }}
needs: check_date
if: ${{ inputs.release_type != 'none' && (needs.check_date.outputs.should_run != 'false' && ) }}
runs-on: ubuntu-latest
env: