Update the manifest with DL4MicEverywhere information #254
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update the manifest with DL4MiceEverywhere information | |
on: | |
# At 05:30 AM of every day | |
schedule: | |
- cron: "30 5 * * *" | |
workflow_dispatch: | |
jobs: | |
update-manifest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone ZeroCostDL4Mic repository | |
uses: actions/checkout@v4 | |
with: | |
path: ZeroCostDL4Mic | |
- name: Clone DL4MicEverywhere repository | |
uses: actions/checkout@v4 | |
with: | |
repository: HenriquesLab/DL4MicEverywhere | |
path: DL4MicEverywhere | |
- name: Install requirements | |
working-directory: ./ZeroCostDL4Mic | |
run: pip install -r Tools/CI_requirements.txt | |
- 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 | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
repository: ./ZeroCostDL4Mic | |
commit_message: GitHub Action - Update manifest with DL4MiceEverywhere information | |