From 7f4c9d28373fbd91666d5d86a79d28256efc514a Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Tue, 24 Mar 2020 13:46:09 +0100 Subject: [PATCH] workflows: test different content types --- .github/workflows/test.yml | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f85ef22e..fd1a43ef 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,9 +7,24 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - body: - - file://README.md - - Test of action completed successfully! + content_type: + - text/plain + - text/html + - text/markdown + include: + - content_type: text/plain + body: Test of action completed successfully! + - content_type: text/html + body: | + + + +

Heading

+

Paragraph

+ + + - content_type: text/markdown + body: file://README.md steps: - name: Checkout uses: actions/checkout@v1 @@ -23,4 +38,5 @@ jobs: subject: ${{github.repository}} body: ${{matrix.body}} to: ${{github.event.pusher.email}},${{secrets.USERNAME}} - from: github-actions \ No newline at end of file + from: github-actions + content_type: ${{matrix.content_type}} \ No newline at end of file