Skip to content

Update

Update #2

Workflow file for this run

name: Release
on:
push:
tags: [ "v*" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install .NET Sdk
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json
- name: Do build
run: |
dotnet build -C Release
- name: Push packages to nuget
run: |
Get-ChildItem ./nupkgs -Filter *.nupkg | %{ dotnet nuget push $_.FullName -k ${{secrets.NUGET_API_KEY}} }
shell: pwsh
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: "nupkgs"