perlmutter cron #116
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: perlmutter cron | |
on: | |
schedule: | |
- cron: '25 3,15 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout hpc-h5 | |
uses: actions/checkout@v3 | |
- name: cURL request | |
run: curl -s -o out.json 'https://my.cdash.org/api/v1/index.php?project=HDF5' | |
- id: date | |
run: echo "##[set-output name=data;]$(python ./bin/cdash.py perlmutter nvhpc)" | |
- name: Time badge | |
uses: RubbaBoy/[email protected] | |
with: | |
NAME: perlmutter | |
LABEL: 'Perlmutter Test Failures' | |
STATUS: ${{ steps.date.outputs.data }} | |
COLOR: 00EEFF | |
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
REPOSITORY: hyoklee/hpc-h5 | |
ACTOR: hyoklee | |
- name: Upload | |
uses: actions/upload-artifact@v2 | |
with: | |
name: out.json | |
path: ${{ runner.workspace }}/hpc-h5/out.json |