-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add missing github email action
This email action was missing from PR #148.
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: 'Sdk Sample Error Email' | ||
inputs: | ||
username: | ||
required: true | ||
password: | ||
required: true | ||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: dawidd6/action-send-mail@v3 | ||
with: | ||
# Required mail server address: | ||
server_address: smtp.gmail.com | ||
# Required mail server port: | ||
server_port: 465 | ||
# Optional (recommended): mail server username: | ||
username: ${{inputs.username}} | ||
# Optional (recommended) mail server password: | ||
password: ${{inputs.password}} | ||
# Required mail subject: | ||
subject: SDK Examples Build failed - ${{ github.job }} | ||
# Required recipients' addresses: | ||
to: [email protected] | ||
# Required sender full name (address can be skipped): | ||
from: Dev Eco | ||
# Optional whether this connection use TLS (default is true if server_port is 465) | ||
secure: true | ||
# Optional plain body: | ||
body: | | ||
"${{github.job}}" build job of "${{github.repository}}", branch "${{ github.head_ref || github.ref_name }}" failed! | ||
See ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} for details. | ||
# Optional unsigned/invalid certificates allowance: | ||
ignore_cert: true |