diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..8fdf72b8 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,19 @@ +name: NuGet Push + +on: + push: + branches: + - main + +jobs: + build: + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup + uses: actions/setup-dotnet@v1 + - name: Pack + run: dotnet build --configuration Release + - name: Push + run: dotnet nuget push .\Source\*\*\bin\Release\*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NuGetAPIKey }} --skip-duplicate --no-symbols 1