name: Test action on: push: branches: - master jobs: main: runs-on: ubuntu-latest strategy: max-parallel: 1 matrix: include: - content_type: text/markdown body: file://README.md attachments: action.yml - content_type: text/html body: |
Paragraph
attachments: package.json,package-lock.json steps: - name: Checkout code uses: actions/checkout@v2 - 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}} from: github-actions content_type: ${{matrix.content_type}} attachments: ${{matrix.attachments}}