diff --git a/.github/workflows/action.yml b/.github/workflows/send-message.yml similarity index 100% rename from .github/workflows/action.yml rename to .github/workflows/send-message.yml diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..ad879bd --- /dev/null +++ b/action.yml @@ -0,0 +1,13 @@ +name: 'GitHub Action for COVID-19 Updates' +description: 'Get Malaysian Covid-19 Updates. Data from 2019 Novel Coronavirus COVID-19 (2019-nCoV) Data Repository by Johns Hopkins CSSE.' +inputs: + who-to-greet: # id of input + description: 'Yesterday date' + required: true + default: 'Yesterday date' +outputs: + time: # id of output + description: 'COVID-19 Updates on confirmed, deaths, recovered and active.' +runs: + using: 'node12' + main: 'index.js' \ No newline at end of file