Fetch a daily saying from iciba.com and output it
Create a .github/workflows/daily-saying.yml
file in the repository you want to install this action, then add the following to it:
name: Daily Saying
on:
push:
branches:
- master
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: wow-actions/daily-saying@v1
Various inputs are defined to let you configure the action:
Note: Workflow command and parameter names are not case-sensitive.
Name | Description | Default |
---|---|---|
extract_best_picture |
Extract the best picture from response | true |
Name | Description |
---|---|
content |
The content of the saying |
translation |
The Chinese translation of the saying |
annotation |
The Chinese annotation of the saying |
tts |
The tts of the saying |
picture |
The picture of the saying |
picture2 |
The picture2 of the saying |
picture3 |
The picture3 of the saying |
picture4 |
The picture4 of the saying |
share_picture |
The picture for sharing |
best_picture |
The best picture picked from picture/picture2picture3/picture4 |
date |
The date of the saying |
The scripts and documentation in this project are released under the MIT License