Skip to content

bump version to change repository url. #21

bump version to change repository url.

bump version to change repository url. #21

Workflow file for this run

name: .NET
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 7.0.x
source-url: https://nuget.pkg.github.com/bobaoapae/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN }}
- name: Build with dotnet
run: dotnet build --configuration Release --property:PackageOutputPath=../npkg
- name: Publish
run: dotnet nuget push "npkg/*.nupkg" -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/bobaoapae/index.json --skip-duplicate