fix: enable nullable on image controller & fix NRE #1730
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Shoko.Plugin.Abstractions Nuget | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build-plugin-nuget: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
dotnet: [ '6.x' ] | |
name: Publish Shoko.Plugin.Abstractions Nuget | |
steps: | |
- uses: actions/checkout@master | |
with: | |
submodules: recursive | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: ${{ matrix.dotnet }} | |
- run: dotnet restore Shoko.Plugin.Abstractions | |
- run: dotnet build -c Release Shoko.Plugin.Abstractions | |
- name: Publish Shoko.Plugin.Abstractions Nuget | |
uses: brandedoutcast/[email protected] | |
with: | |
PROJECT_FILE_PATH: Shoko.Plugin.Abstractions/Shoko.Plugin.Abstractions.csproj | |
NUGET_KEY: ${{secrets.NUGET_API_KEY}} | |
TAG_FORMAT: Shoko.Plugin.Abstractions-v* |