Upload Datasets #32
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: Upload Datasets | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "15 2 1 */2 *" | |
env: | |
dataset_download_address: "https://dataset.prophesee.ai/index.php/s/tiP0wl0r5aW5efL/download" | |
jobs: | |
get_artifacts: | |
name: Get Datasets | |
runs-on: ubuntu-latest | |
steps: | |
- name: Downloading datasets | |
timeout-minutes: 10 | |
run: | | |
curl -L -o datasets.zip $dataset_download_address | |
mkdir datasets && cd datasets && unzip ../datasets.zip | |
- name: Uploading datasets to storage | |
uses: actions/upload-artifact@master | |
with: | |
name: datasets | |
path: datasets |