SuperWebView icon indicating copy to clipboard operation
SuperWebView copied to clipboard

Automated Release To NuGet

Open Axemasta opened this issue 4 years ago • 3 comments

Currently the build pipeline releases to my internal feed and I manually upload to NuGet.org, update the pipelines so that I can release automatically

Axemasta avatar Jun 18 '21 15:06 Axemasta

Also create a github release mirroring the info on here!

Axemasta avatar Jun 18 '21 15:06 Axemasta

name: Publish to NuGet

on:
  push:
    branches:
      - main # Your default release branch
    paths:
      - 'src/**'

jobs:
  publish:
    name: Publish to NuGet
    runs-on: windows-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      
      - name: Setup dotnet
        uses: actions/setup-dotnet@v1
        with:
          dotnet-version: 3.1.100
      
      - name: Publish
        uses: rohith/publish-nuget@v2
        #uses: brandedoutcast/[email protected]
        with:
          PROJECT_FILE_PATH: src/VSSDK.Helpers.15.0/VSSDK.Helpers.15.0.csproj
          NUGET_KEY: ${{secrets.NUGET_API_KEY}} # nuget.org API key

AlexHedley avatar Jun 18 '21 16:06 AlexHedley

GHR https://github.com/mrlacey/ghpkgtest

AlexHedley avatar Jun 19 '21 09:06 AlexHedley