Skip to content

Merge branch 'master' of https://github.com/0phois/Ragnarok #11

Merge branch 'master' of https://github.com/0phois/Ragnarok

Merge branch 'master' of https://github.com/0phois/Ragnarok #11

name: Nuget Publish
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Publish Agent API
uses: brandedoutcast/[email protected]
with:
PROJECT_FILE_PATH: src/Ragnarok.AgentApi/Ragnarok.AgentApi.csproj
VERSION_FILE_PATH: Directory.Build.props
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
INCLUDE_SYMBOLS: false
- name: Publish Hosted Service
uses: brandedoutcast/[email protected]
with:
PROJECT_FILE_PATH: src/Ragnarok.HostedService/Ragnarok.HostedService.csproj
VERSION_FILE_PATH: Directory.Build.props
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
INCLUDE_SYMBOLS: false