Skip to content

Commit

Permalink
Update sync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
steadfasterX authored Jul 15, 2024
1 parent 29a4008 commit cb7efbf
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Sync"

on:
schedule:
- cron: '35 10 * * *'
- cron: '27 11 * * *'
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow pushing via github token
Expand All @@ -24,21 +24,10 @@ jobs:

call-build-wf:
runs-on: ubuntu-latest
needs: call-org-workflow

steps:

- name: "Download commit result"
uses: actions/download-artifact@v4
with:
name: commit_result

- name: "Check result"
shell: bash
id: cmres
run: |
source cm.res
echo "commit_result=$new_commits" >> $GITHUB_ENV

- name: "Trigger APK build"
if: "${{ env.commit_result }}"
if: "${{ needs.call-org-workflow.outputs.commitcheck }}"
uses: ./.github/workflows/apk.yml

0 comments on commit cb7efbf

Please sign in to comment.