Skip to content

Commit

Permalink
Merge pull request #21 from FrendsPlatform/issue-19
Browse files Browse the repository at this point in the history
SendEmail - Fixed issue with Attachments
  • Loading branch information
Svenskapojkarna authored Nov 29, 2023
2 parents 9845284 + 1519af0 commit bcb2906
Show file tree
Hide file tree
Showing 21 changed files with 702 additions and 640 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/SendEmail_build_and_test_on_main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: SendEmail_build_main

on:
push:
branches:
- main
paths:
- 'Frends.SMTP.SendEmail/**'
workflow_dispatch:

jobs:
build:
uses: FrendsPlatform/FrendsTasks/.github/workflows/build_main.yml@main
with:
env_var_name_1: Frends_SMTP_Username
env_var_name_2: FRENDS_SMTP_PASSWORD
env_var_name_3: Frends_SMTP_Address
env_var_name_4: Frends_SMTP_Email
workdir: Frends.SMTP.SendEmail
secrets:
env_var_value_1: ${{ secrets.FRENDS_SMTP_USERNAME }}
env_var_value_2: ${{ secrets.FRENDS_SMTP_PASSWORD }}
env_var_value_3: ${{ secrets.FRENDS_SMTP_ADDRESS }}
env_var_value_4: ${{ secrets.FRENDS_SMTP_EMAIL }}
badge_service_api_key: ${{ secrets.BADGE_SERVICE_API_KEY }}

27 changes: 27 additions & 0 deletions .github/workflows/SendEmail_build_and_test_on_push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: SendEmail_build_test

on:
push:
branches-ignore:
- main
paths:
- 'Frends.SMTP.SendEmail/**'
workflow_dispatch:

jobs:
build:
uses: FrendsPlatform/FrendsTasks/.github/workflows/build_test.yml@main
with:
env_var_name_1: Frends_SMTP_Username
env_var_name_2: FRENDS_SMTP_PASSWORD
env_var_name_3: Frends_SMTP_Address
env_var_name_4: Frends_SMTP_Email
workdir: Frends.SMTP.SendEmail
secrets:
env_var_value_1: ${{ secrets.FRENDS_SMTP_USERNAME }}
env_var_value_2: ${{ secrets.FRENDS_SMTP_PASSWORD }}
env_var_value_3: ${{ secrets.FRENDS_SMTP_ADDRESS }}
env_var_value_4: ${{ secrets.FRENDS_SMTP_EMAIL }}
badge_service_api_key: ${{ secrets.BADGE_SERVICE_API_KEY }}
test_feed_api_key: ${{ secrets.TASKS_TEST_FEED_API_KEY }}

23 changes: 0 additions & 23 deletions .github/workflows/SendEmail_dev.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/SendEmail_main.yml

This file was deleted.

5 changes: 2 additions & 3 deletions .github/workflows/SendEmail_release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Frends.SMTP.SendEmail Release
name: SendEmail_release

on:
workflow_dispatch:

workflow_dispatch:

jobs:
build:
Expand Down
8 changes: 8 additions & 0 deletions Frends.SMTP.SendEmail/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
# Changelog

## [1.1.0] - 2023-11-29
### Fixed
- [Breaking] Fixed issue with the attachments can't be given as expression by adding AttachmentOptions class.

## [1.0.3] - 2023-11-03
### Added
- Fix missing XML comments.

## [1.0.2] - 2023-11-03
### Added
- Fix bug #20 - Missing Frends tasks metadata file

## [1.0.1] - 2023-05-15
### Fixed
- Fix bug #14 - NullReferenceException when field with 'Expression' type is empty

## [1.0.0] - 2022-02-09
Expand Down
Loading

0 comments on commit bcb2906

Please sign in to comment.