forked from ePlus-DEV/weather-forecast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
29 lines (29 loc) · 791 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: 'Update Weather'
description: 'Update Daily or Hourly Weather to your README.md'
inputs:
city:
description: 'City'
required: true
days:
description: 'Days of forecast'
required: false
default: '7'
weather-api-key:
description: 'https://weatherapi.com API key. Get one for free at https://www.weatherapi.com'
required: true
template-file:
description: 'Template file path'
required: true
out-file:
description: 'Output file path'
required: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.test }}
- --weather-api-key=${{ inputs.weather-api-key }}
- --days=${{ inputs.days }}
- --city=${{ inputs.city }}
- --template-file=${{ inputs.template-file }}
- --out-file=${{ inputs.out-file }}