Skip to content

Fix Bedrock.Framework nullability issues. (#163) #373

Fix Bedrock.Framework nullability issues. (#163)

Fix Bedrock.Framework nullability issues. (#163) #373

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- uses: aarnott/[email protected]
with:
setAllVars: true
- name: Setup .NET Core SDK
uses: actions/[email protected]
with:
version: 3.1.100
- name: dotnet build
run: dotnet build BedrockFramework.sln -c Release
- name: dotnet test
run: dotnet test BedrockFramework.sln -c Release --no-build
- name: dotnet pack
run: dotnet pack BedrockFramework.sln -c Release --no-build --include-source --include-symbols
- name: setup nuget
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
uses: NuGet/[email protected]
with:
nuget-version: latest
- name: Set API key
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: nuget setapikey ${{ secrets.FEEDZ_TOKEN }} -Config nuget.config -Source https://f.feedz.io/davidfowl/bedrockframework/nuget/index.json
- name: Set symbols API key
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: nuget setapikey ${{ secrets.FEEDZ_TOKEN }} -Config nuget.config -Source https://f.feedz.io/davidfowl/bedrockframework/symbols
- name: push packages
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: dotnet nuget push **/*.nupkg -s https://f.feedz.io/davidfowl/bedrockframework/nuget/index.json -ss https://f.feedz.io/davidfowl/bedrockframework/symbols --skip-duplicate