mirror of
				https://github.com/dawidd6/action-send-mail.git
				synced 2025-10-31 23:26:24 +07:00 
			
		
		
		
	workflows: test different content types
This commit is contained in:
		
							
								
								
									
										24
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										24
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							| @ -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: | | ||||
|               <!DOCTYPE html> | ||||
|               <html> | ||||
|               <body> | ||||
|               <h1>Heading</h1> | ||||
|               <p>Paragraph</p> | ||||
|               </body> | ||||
|               </html> | ||||
|           - 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 | ||||
|           from: github-actions | ||||
|           content_type: ${{matrix.content_type}} | ||||
		Reference in New Issue
	
	Block a user
	 Dawid Dziurla
					Dawid Dziurla