Skip to content

Publish .nupkg

Publish .nupkg #28

Workflow file for this run

name: CI
on: [ "push", "pull_request" ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 8.*
- name: Run the Cake script
uses: cake-build/cake-action@v1
with:
verbosity: Diagnostic
- uses: actions/upload-artifact@v3
with:
name: Reactor.Impostor.dll
path: Reactor.Impostor/bin/Release/net8.0/Reactor.Impostor.dll
- uses: actions/upload-artifact@v3
with:
name: Reactor.Impostor.nupkg
path: Reactor.Impostor/bin/Release/Reactor.Impostor.*.nupkg
- uses: softprops/action-gh-release@v1
if: github.ref_type == 'tag'
with:
draft: true
files: |
Reactor.Impostor/bin/Release/net8.0/Reactor.Impostor.dll
Reactor.Impostor/bin/Release/Reactor.Impostor.*.nupkg