update nextclade dataset #36
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 nextclade dataset | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '30 4 * * TUE' | |
jobs: | |
update-nextclade-dataset: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: download nextclade | |
run: | | |
wget -q https://github.com/nextstrain/nextclade/releases/latest/download/nextclade-x86_64-unknown-linux-gnu -O nextclade | |
chmod +x nextclade | |
./nextclade --version | |
./nextclade dataset get --name sars-cov-2 --output-zip sars.zip | |
mv sars.zip ./data/sars.zip | |
rm -rf nextclade | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
commit-message: Update nextclade dataset | |
title: Update dataset | |
body: | | |
- Dependency updates | |
Auto-generated by [create-pull-request][1] | |
[1]: https://github.com/peter-evans/create-pull-request | |
branch: update-dataset |