diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 4b447154..b7998ac0 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -2,16 +2,19 @@ name: Android CI on: workflow_dispatch: - push: - branches: - - 'master' - pull_request: - branches-ignore: - - 'master' - + schedule: + - cron: '0 22 * * *' # run at 0:00 GMT+2 jobs: + hasChanged: + continue-on-error: true + name: Verify that changes have occured in the last 24h + if: ${{ github.event_name == 'schedule' }} + run: test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "::set-output name=hasChanged::false" + createArtifacts: + needs: hasChanged + if: ${{ needs.hasChanged.outputs.hasChanged != 'false' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index d053a937..888f2925 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ )](https://github.com/newhinton/Round-Sync/releases) [![GitHub release](https://img.shields.io/github/v/release/newhinton/Round-Sync?include_prereleases)](https://github.com/newhinton/Round-Sync/releases/latest) [![Documentation](https://img.shields.io/badge/Documentation-roundsync.com-4aad4e)](https://roundsync.com) [![supportive flags](https://img.shields.io/badge/support-πŸ‡ΊπŸ‡¦_πŸ³οΈβ€βš§_πŸ³οΈβ€πŸŒˆ-4aad4e)](https://roundsync.com) +[![Android Lint](https://github.com/newhinton/Round-Sync/actions/workflows/lint.yml/badge.svg)](https://github.com/newhinton/Round-Sync/actions/workflows/lint.yml) ----------- A cloud file manager, powered by rclone. Visit [https://roundsync.com](https://roundsync.com) for more information!