From c69f63c191d68553ae10b6d8a9d39932407b493e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Wei=C3=9F?= <72068105+Sandoun@users.noreply.github.com> Date: Tue, 27 Sep 2022 10:21:37 +0200 Subject: [PATCH 1/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a3672cc..249f0ad 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Where is the RS232/Serial support? Install this package by using [Nuget](https://www.nuget.org/packages/MewtocolNet/) or reference ```XML - + ``` in your dependencies. Alternatively use the dotnet CLI and run From 48a59771856b3b87c566556f8253dcf068814a7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Wei=C3=9F?= <72068105+Sandoun@users.noreply.github.com> Date: Thu, 20 Oct 2022 09:36:35 +0200 Subject: [PATCH 2/4] Create publish.yml --- .github/workflows/publish.yml | 57 +++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..4faad1d --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,57 @@ +name: publish to nuget +on: + push: + branches: + - master # Default release branch, may also be named 'master' or 'develop' +jobs: + publish: + name: build, pack & publish + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + # - name: Setup dotnet + # uses: actions/setup-dotnet@v1 + # with: + # dotnet-version: 3.1.200 + + # Publish + - name: publish on version change + id: publish_nuget + uses: brandedoutcast/publish-nuget@v2 + with: + # Filepath of the project to be packaged, relative to root of repository + PROJECT_FILE_PATH: MewtocolNet/MewtocolNet.csproj + + # Configuration to build and package + # BUILD_CONFIGURATION: Release + + # Platform target to compile (default is empty/AnyCPU) + # BUILD_PLATFORM: x64 + + # NuGet package id, used for version detection & defaults to project name + # PACKAGE_NAME: Core + + # Filepath with version info, relative to root of repository & defaults to PROJECT_FILE_PATH + # VERSION_FILE_PATH: Directory.Build.props + + # Regex pattern to extract version info in a capturing group + # VERSION_REGEX: ^\s*(.*)<\/Version>\s*$ + + # Useful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEX + # VERSION_STATIC: 1.0.0 + + # Flag to toggle git tagging, enabled by default + # TAG_COMMIT: true + + # Format of the git tag, [*] gets replaced with actual version + # TAG_FORMAT: v* + + # API key to authenticate with NuGet server + # NUGET_KEY: ${{secrets.NUGET_API_KEY}} + + # NuGet server uri hosting the packages, defaults to https://api.nuget.org + # NUGET_SOURCE: https://api.nuget.org + + # Flag to toggle pushing symbols along with nuget package to the server, disabled by default + # INCLUDE_SYMBOLS: false From fe816ab78ea265a1b5f2531f955466eca8a9e958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Wei=C3=9F?= <72068105+Sandoun@users.noreply.github.com> Date: Thu, 20 Oct 2022 09:46:08 +0200 Subject: [PATCH 3/4] Update publish.yml --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4faad1d..c248461 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -48,7 +48,7 @@ jobs: # TAG_FORMAT: v* # API key to authenticate with NuGet server - # NUGET_KEY: ${{secrets.NUGET_API_KEY}} + NUGET_KEY: ${{secrets.NUGET_KEY}} # NuGet server uri hosting the packages, defaults to https://api.nuget.org # NUGET_SOURCE: https://api.nuget.org From bdf9f93f972858cafc5b00def6b6a3e176e1745a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Wei=C3=9F?= <72068105+Sandoun@users.noreply.github.com> Date: Thu, 20 Oct 2022 09:50:58 +0200 Subject: [PATCH 4/4] Update MewtocolNet.csproj --- MewtocolNet/MewtocolNet.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MewtocolNet/MewtocolNet.csproj b/MewtocolNet/MewtocolNet.csproj index 6c18f57..aede34b 100644 --- a/MewtocolNet/MewtocolNet.csproj +++ b/MewtocolNet/MewtocolNet.csproj @@ -2,7 +2,7 @@ netstandard2.0 MewtocolNet - 0.6.0 + 0.6.1 Felix Weiss Womed true