Skip to content

Commit c66734b

Browse files
committed
MailTest
1 parent e163297 commit c66734b

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/mail.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ jobs:
1212
notify1:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: felfert/action-send-mail@parser
16-
if: ${{ github.event.inputs.testfrom == '' }}
15+
- name: without
16+
if: ${{ github.event.inputs.testfrom == '' || github.event.inputs.testfrom == '' }}
17+
uses: felfert/action-send-mail@parser
1718
with:
1819
server_address: ${{secrets.SMTP_SERVER}}
1920
server_port: 587
@@ -26,8 +27,9 @@ jobs:
2627
body: "Plain body"
2728
envelope_to: 'Fritz Elfert <me@fritz-elfert.de>, Someone Else <whonows@fritz-elfert.de>'
2829
nodemailerdebug: true
29-
- uses: felfert/action-send-mail@parser
30-
if: ${{ github.event.inputs.testfrom != '' && github.event.inputs.testto != '' }}
30+
- name: with
31+
if: ${{ github.event.inputs.testfrom != '' && github.event.inputs.testto != '' }}
32+
uses: felfert/action-send-mail@parser
3133
with:
3234
server_address: ${{secrets.SMTP_SERVER}}
3335
server_port: 587

0 commit comments

Comments
 (0)