From de26d9b5b1963490ad81a8cb5ac608d81008e441 Mon Sep 17 00:00:00 2001 From: Lyle Davis Date: Tue, 13 Oct 2020 21:26:29 +0100 Subject: [PATCH 1/2] Add package description --- src/Chainz/Chainz.csproj | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Chainz/Chainz.csproj b/src/Chainz/Chainz.csproj index 72764a6..833c959 100644 --- a/src/Chainz/Chainz.csproj +++ b/src/Chainz/Chainz.csproj @@ -2,6 +2,13 @@ netstandard2.0 + Chainz + 1.0.0 + LyleDavis + + A generic library implementation of the Middleware/Chain of Responsibility Pattern. + Useful for building and modifying "pipelines" of code. + From 1a880eb35557eda038f0624b816200435eb00025 Mon Sep 17 00:00:00 2001 From: Lyle Davis Date: Tue, 13 Oct 2020 21:44:58 +0100 Subject: [PATCH 2/2] Add cd workflow --- .github/workflows/cd.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/cd.yml diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml new file mode 100644 index 0000000..6acceab --- /dev/null +++ b/.github/workflows/cd.yml @@ -0,0 +1,23 @@ +name: CD + +on: + push: + branches: [ master ] + +jobs: + nuget: + name: Nuget push + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Publish on version change + id: publish_nuget + uses: rohith/publish-nuget@v2 + with: + PROJECT_FILE_PATH: src/Chainz/Chainz.csproj + PACKAGE_NAME: Chainz + TAG_COMMIT: true + TAG_FORMAT: v* + NUGET_KEY: ${{secrets.CHAINZ_CD_PUSH}} +