From a69fc001f99e17419b56b21904725cbf9360be47 Mon Sep 17 00:00:00 2001 From: xRain Date: Mon, 23 Dec 2019 16:52:18 +0800 Subject: [PATCH] add ci files --- .github/workflows/PublishToNuget.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/PublishToNuget.yml diff --git a/.github/workflows/PublishToNuget.yml b/.github/workflows/PublishToNuget.yml new file mode 100644 index 0000000..f48ee91 --- /dev/null +++ b/.github/workflows/PublishToNuget.yml @@ -0,0 +1,16 @@ +name: PublishToNuget + +on: [push] + +jobs: + build: + name: publish to nuget + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 2 + - name: Publish NuGet + uses: rohith/publish-nuget@v1.0.3 + with: + nuget_key: ${{ secrets.NugetKey }}