Skip to content

Commit 07d585f

Browse files
committed
Manually trigger release action
1 parent abd71c7 commit 07d585f

File tree

6 files changed

+11
-15
lines changed

6 files changed

+11
-15
lines changed

.github/workflows/_build-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020

2121
jobs:
2222
test:
23-
name: Build Test Pack
23+
name: 🏗 Build Test Pack ${{ inputs.project-name }}
2424
runs-on: ubuntu-latest
2525
environment: ${{ inputs.environment }}
2626
env:
@@ -82,7 +82,7 @@ jobs:
8282

8383
- name: Add Coverage PR Comment
8484
if: ${{ inputs.project-name != 'MailKitSimplified.Core' }} #&& github.event_name != 'pull_request'
85-
uses: marocchino/sticky-pull-request-comment@v2.2.0
85+
uses: marocchino/sticky-pull-request-comment@v2.3.0
8686
with:
8787
recreate: true
8888
path: code-coverage-results.md

.github/workflows/_deploy-nuget.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,22 @@ on:
2424

2525
jobs:
2626
deploy:
27-
name: Deploy ${{ inputs.project-name }}
27+
name: 🚀 Deploy ${{ inputs.project-name }}
2828
runs-on: ubuntu-latest
2929
permissions:
3030
packages: write
3131
contents: read
3232
environment: ${{ inputs.environment }}
3333
env:
3434
PACKAGE_NAME: '${{ inputs.project-name }}.${{ inputs.version }}.nupkg'
35-
VERSION: ${GITHUB_REF##*v}
35+
VERSION: ${{ github.ref }} # ##*v
3636

3737
steps:
3838
- name: Download artifact from build job
3939
uses: actions/download-artifact@v3
4040
with:
4141
name: ${{ inputs.project-name }}
4242

43-
- name: Markdown workflow job summary
44-
run: echo "### $PACKAGE_NAME artifact downloaded" >> $GITHUB_STEP_SUMMARY
45-
4643
- name: Setup .NET environment
4744
uses: actions/setup-dotnet@v3
4845
with:
@@ -61,4 +58,4 @@ jobs:
6158
- name: Markdown workflow job summary
6259
run: |
6360
echo "### ${{ inputs.project-name }}.${{ inputs.version }}.nupkg package published to NuGet from ${{ github.repository }}" >> $GITHUB_STEP_SUMMARY
64-
echo "${{ github.repository }} version $VERSION released" >> $GITHUB_STEP_SUMMARY
61+
echo "${{ github.repository }} version $VERSION" >> $GITHUB_STEP_SUMMARY

.github/workflows/_gitversion.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
gitversion:
18-
name: GitVersion
18+
name: 🧬 GitVersion
1919
runs-on: ubuntu-latest
2020
environment: ${{ inputs.environment }}
2121

.github/workflows/development.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,23 @@ jobs:
1414
uses: ./.github/workflows/_gitversion.yml
1515
secrets: inherit
1616

17-
build_core:
17+
test_core:
1818
needs: version
1919
uses: ./.github/workflows/_build-test.yml
2020
with:
2121
project-name: 'MailKitSimplified.Core'
2222
version: ${{ needs.version.outputs.version }}
2323
secrets: inherit
2424

25-
build_sender:
25+
test_sender:
2626
needs: version
2727
uses: ./.github/workflows/_build-test.yml
2828
with:
2929
project-name: 'MailKitSimplified.Sender'
3030
version: ${{ needs.version.outputs.version }}
3131
secrets: inherit
3232

33-
build_receiver:
33+
test_receiver:
3434
needs: version
3535
uses: ./.github/workflows/_build-test.yml
3636
with:

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
name: Release
2-
run-name: Publish 'v1.2.3' tags as releases
2+
run-name: Publish 'v#.#.#' tags as releases
33

44
on:
55
workflow_dispatch:
66
push:
77
branches:
8-
- main
98
- release/**
109
tags:
1110
- 'v[0-9]+.[0-9]+.[0-9]+'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# MailKitSimplified [![Build and Test results summary](https://github.com/danzuep/MailKitSimplified/actions/workflows/development.yml/badge.svg)](https://github.com/danzuep/MailKitSimplified/actions/workflows/development.yml)
1+
# MailKitSimplified [![Development](https://github.com/danzuep/MailKitSimplified/actions/workflows/development.yml/badge.svg)](https://github.com/danzuep/MailKitSimplified/actions/workflows/development.yml) [![Release](https://github.com/danzuep/MailKitSimplified/actions/workflows/release.yml/badge.svg)](https://github.com/danzuep/MailKitSimplified/actions/workflows/release.yml)
22

33
Sending and receiving emails sounds simple, after all, electronic mail existed [decades](https://en.wikipedia.org/wiki/History_of_email) before the [Internet](https://en.wikipedia.org/wiki/History_of_the_Internet). If you're looking for a an all-in-one .NET solution for email, you'll quickly discover [MailKit](https://github.com/jstedfast/MailKit) is recommended by even the likes of [Microsoft](https://learn.microsoft.com/en-us/dotnet/api/system.net.mail.smtpclient?view=net-6.0#remarks) due to how it implements the [RFC standard](https://www.rfc-editor.org/rfc/rfc2822). Unfortunately the downside of doing it all is that MailKit can be difficult to [set up](https://github.com/jstedfast/MailKit#using-mailkit) [and use](https://github.com/jstedfast/MimeKit/blob/master/FAQ.md#messages-1), especially the first time you go to try something like [checking attachments](https://github.com/jstedfast/MimeKit/blob/master/FAQ.md#q-how-do-i-tell-if-a-message-has-attachments) or [writing a reply](https://github.com/jstedfast/MimeKit/blob/master/FAQ.md#q-how-do-i-reply-to-a-message). The aim of this package is to make sending (and receiving) emails as simple as possible!
44

0 commit comments

Comments
 (0)