Skip to content

Merge pull request #10 from templarundead/renovate/actions-core-1.x-l… #15

Merge pull request #10 from templarundead/renovate/actions-core-1.x-l…

Merge pull request #10 from templarundead/renovate/actions-core-1.x-l… #15

Workflow file for this run

name: Test action
on:
push:
branches:
- master
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
include:
- content_type: text/markdown
attachments: action.yml
body: file://README.md
- content_type: text/html
attachments: package.json,package-lock.json
body: |
<!DOCTYPE html>
<html>
<body>
<h1>Heading</h1>
<p>Paragraph</p>
</body>
</html>
- content_type: text/html
convert_markdown: true
body: |
# h1
## h2
### h3
**bold**
_italics_
- bullet 1
- bullet 2
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Send mail
uses: ./
with:
server_address: ${{secrets.ADDRESS}}
server_port: 465
username: ${{secrets.GMAIL_USERNAME}}
password: ${{secrets.GMAIL_PASSWORD}}
subject: ${{github.repository}}
body: ${{matrix.body}}
to: ${{ secrets.MAILRU_USERNAME }}
from: github-actions
content_type: ${{matrix.content_type}}
convert_markdown: ${{matrix.convert_markdown}}
attachments: ${{matrix.attachments}}