From a3f7fa801636b54b24b30d7f6bd918d8d5bf6f8b Mon Sep 17 00:00:00 2001 From: ModernRonin <7413294+ModernRonin@users.noreply.github.com> Date: Mon, 3 May 2021 18:45:18 +0100 Subject: [PATCH] added github action for automatically creating a nuget --- .github/workflows/push-nuget.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/push-nuget.yml diff --git a/.github/workflows/push-nuget.yml b/.github/workflows/push-nuget.yml new file mode 100644 index 0000000..522f4fa --- /dev/null +++ b/.github/workflows/push-nuget.yml @@ -0,0 +1,25 @@ +# This is a basic workflow to help you get started with Actions + +name: Push nuget + +# Controls when the action will run. +on: + # Triggers the workflow on push to the master branch + push: + branches: [ master ] + +# Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + build: + runs-on: windows-latest + + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + - name: run push-package + shell: pwsh + env: + NUGETAPIKEY: ${{ secrets.NUGETAPIKEY }} + run: .\push-package.ps1