polaris-nv cron #6
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: polaris-nv cron | |
on: | |
schedule: | |
- cron: '25 16 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout hpc-h5 | |
uses: actions/checkout@v4 | |
- 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 polaris nvhpc)" | |
- name: Time badge | |
uses: RubbaBoy/[email protected] | |
with: | |
NAME: polaris_nv | |
LABEL: 'Polaris 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 |