misc: update readme.md #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish to nuget | |
on: | |
push: | |
branches: [ "refactor/v3" ] | |
jobs: | |
publish: | |
name: build, pack & publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v1 | |
- name: Build solution and generate NuGet package | |
run: | | |
cd UEScript.CLI | |
dotnet pack -c Release -o ./nuget | |
# Publish | |
- name: Push generated package to GitHub registry | |
run: dotnet nuget push ./UEScript.CLI/nuget/*.nupkg -s https://api.nuget.org/v3/index.json --skip-duplicate -k ${{ secrets.NUGET_API_KEY }} |