added table workflow #1
Workflow file for this run
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: cmor tables | |
# Controls when the action will run. Workflow runs when manually triggered using the UI | |
# or API. | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * *" | |
push: | |
branches: | |
- "*" | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
update-cmor-tables: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install data_request_tools | |
run: | | |
python -m pip install --upgrade pip | |
pip install git+https://github.com/WCRP-CORDEX/data-request-tools@v0.1.0 | |
- name: Create tables | |
run: | | |
create-cmor-tables data-request-fpsurbrcc.csv --coords --output cmor-tables |