Skip to content

Commit

Permalink
workflows: test sending mails with attachments
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidd6 committed Apr 7, 2020
1 parent b75f333 commit c550a71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
include:
- content_type: text/plain
body: file://README.md
attachments: action.yml
- content_type: text/html
body: |
<!DOCTYPE html>
Expand All @@ -23,6 +24,7 @@ jobs:
<p>Paragraph</p>
</body>
</html>
attachments: package.json,package-lock.json
steps:
- name: Checkout code
uses: actions/checkout@v1
Expand All @@ -38,3 +40,4 @@ jobs:
to: ${{github.event.pusher.email}}
from: github-actions
content_type: ${{matrix.content_type}}
attachments: ${{matrix.attachments}}

0 comments on commit c550a71

Please sign in to comment.