mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2024-12-26 19:13:06 +07:00
workflows: test sending mails with attachments
This commit is contained in:
parent
b75f3336d9
commit
c550a7182d
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@ -14,6 +14,7 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- content_type: text/plain
|
- content_type: text/plain
|
||||||
body: file://README.md
|
body: file://README.md
|
||||||
|
attachments: action.yml
|
||||||
- content_type: text/html
|
- content_type: text/html
|
||||||
body: |
|
body: |
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
@ -23,6 +24,7 @@ jobs:
|
|||||||
<p>Paragraph</p>
|
<p>Paragraph</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
attachments: package.json,package-lock.json
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
@ -38,3 +40,4 @@ jobs:
|
|||||||
to: ${{github.event.pusher.email}}
|
to: ${{github.event.pusher.email}}
|
||||||
from: github-actions
|
from: github-actions
|
||||||
content_type: ${{matrix.content_type}}
|
content_type: ${{matrix.content_type}}
|
||||||
|
attachments: ${{matrix.attachments}}
|
||||||
|
Loading…
Reference in New Issue
Block a user