2019-11-18 19:23:22 +07:00
|
|
|
name: Test action
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
main:
|
|
|
|
runs-on: ubuntu-latest
|
2019-12-06 16:26:00 +07:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
body:
|
|
|
|
- README.md
|
|
|
|
- Test of action completed successfully!
|
2019-11-18 19:23:22 +07:00
|
|
|
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}}
|
2019-12-06 16:26:00 +07:00
|
|
|
body: ${{matrix.body}}
|
2019-11-18 19:23:22 +07:00
|
|
|
to: ${{secrets.USERNAME}}
|
|
|
|
from: github-actions
|