name: Test action on: push jobs: main: runs-on: ubuntu-latest strategy: matrix: content_type: - text/plain - text/html include: - content_type: text/plain body: file://README.md - content_type: text/html body: |
Paragraph
steps: - name: Checkout uses: actions/checkout@v1 - name: Send mail uses: ./ with: server_address: ${{secrets.ADDRESS}} server_port: 465 username: ${{secrets.USERNAME}} password: ${{secrets.PASSWORD}} subject: ${{github.repository}} body: ${{matrix.body}} to: ${{github.event.pusher.email}},${{secrets.USERNAME}} from: github-actions content_type: ${{matrix.content_type}}