From c9f924996ddc5a3b29a0c9fa99b341dee5a19ed0 Mon Sep 17 00:00:00 2001 From: IvanHCenalmor Date: Tue, 16 Jan 2024 10:36:25 +0000 Subject: [PATCH] Schedule the manifest updatinf of the inforation --- .github/workflows/update_manifest_dl4miceverywhere.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_manifest_dl4miceverywhere.yml b/.github/workflows/update_manifest_dl4miceverywhere.yml index fd56138e..efd10d72 100644 --- a/.github/workflows/update_manifest_dl4miceverywhere.yml +++ b/.github/workflows/update_manifest_dl4miceverywhere.yml @@ -1,5 +1,9 @@ name: Update the manifest with DL4MiceEverywhere information on: + # At 05:30 AM and 05:30 PM of every day + schedule: + - cron: "30 5 * * *" + - cron: "30 17 * * *" workflow_dispatch: jobs: @@ -10,7 +14,6 @@ jobs: uses: actions/checkout@v4 with: path: ZeroCostDL4Mic - - name: Clone DL4MicEverywhere repository uses: actions/checkout@v4 with: @@ -19,7 +22,10 @@ jobs: - name: Install requirements working-directory: ./ZeroCostDL4Mic run: pip install -r Tools/CI_requirements.txt - - name: Update the manifest + - name: Update the versioning on the manifest + working-directory: ./ZeroCostDL4Mic + run: python3 Tools/update_manifest_versioning.py + - name: Update the DL4MicEverywhere information on the manifest working-directory: ./ZeroCostDL4Mic run: python3 Tools/update_manifest_dl4miceverywhere.py - name: Commit the changes