Skip to content

Merge pull request #2 from hugocasser/refactor/v3 #13

Merge pull request #2 from hugocasser/refactor/v3

Merge pull request #2 from hugocasser/refactor/v3 #13

Workflow file for this run

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 }}