-
Notifications
You must be signed in to change notification settings - Fork 129
35 lines (33 loc) · 1.21 KB
/
update_manifest_dl4miceverywhere.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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