Fixing release CI (#95)

This commit is contained in:
Zoe Roux 2022-03-23 20:51:21 +01:00 committed by GitHub
parent bec0ae41f1
commit e19adb76e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 23 deletions

View File

@ -1,7 +1,7 @@
name: Release name: Release
on: on:
create: push:
tags: tags:
- v* - v*
workflow_dispatch: workflow_dispatch:
@ -31,15 +31,15 @@ jobs:
workflow: build.yml workflow: build.yml
path: ./artifacts path: ./artifacts
github_token: ${{secrets.GITHUB_TOKEN}} github_token: ${{secrets.GITHUB_TOKEN}}
- name: Public the abstractions to nuget # - name: Public the abstractions to nuget
id: publish_nuget # id: publish_nuget
uses: rohith/publish-nuget@v2 # uses: rohith/publish-nuget@v2
with: # with:
PROJECT_FILE_PATH: Kyoo.Abstractions/Kyoo.Abstractions.csproj # PROJECT_FILE_PATH: Kyoo.Abstractions/Kyoo.Abstractions.csproj
PACKAGE_NAME: Kyoo.Abstractions # PACKAGE_NAME: Kyoo.Abstractions
VERSION_REGEX: ^\s*<PackageVersion>(.*)<\/PackageVersion>\s*$ # VERSION_REGEX: ^\s*<PackageVersion>(.*)<\/PackageVersion>\s*$
NUGET_KEY: ${{secrets.NUGET_API_KEY}} # NUGET_KEY: ${{secrets.NUGET_API_KEY}}
INCLUDE_SYMBOLS: true # INCLUDE_SYMBOLS: true
- name: Create Release - name: Create Release
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1
with: with:

View File

@ -223,19 +223,19 @@ namespace Kyoo.Core.Api
} }
/// <summary> /// <summary>
/// Get genres of this show /// Get genres of this show
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// List the genres that represent this show. /// List the genres that represent this show.
/// </remarks> /// </remarks>
/// <param name="identifier">The ID or slug of the <see cref="Show"/>.</param> /// <param name="identifier">The ID or slug of the <see cref="Show"/>.</param>
/// <param name="sortBy">A key to sort genres by.</param> /// <param name="sortBy">A key to sort genres by.</param>
/// <param name="where">An optional list of filters.</param> /// <param name="where">An optional list of filters.</param>
/// <param name="limit">The number of genres to return.</param> /// <param name="limit">The number of genres to return.</param>
/// <param name="afterID">An optional genre's ID to start the query from this specific item.</param> /// <param name="afterID">An optional genre's ID to start the query from this specific item.</param>
/// <returns>A page of genres.</returns> /// <returns>A page of genres.</returns>
/// <response code="400">The filters or the sort parameters are invalid.</response> /// <response code="400">The filters or the sort parameters are invalid.</response>
/// <response code="404">No show with the given ID or slug could be found.</response> /// <response code="404">No show with the given ID or slug could be found.</response>
[HttpGet("{identifier:id}/genres")] [HttpGet("{identifier:id}/genres")]
[HttpGet("{identifier:id}/genre", Order = AlternativeRoute)] [HttpGet("{identifier:id}/genre", Order = AlternativeRoute)]
[PartialPermission(Kind.Read)] [PartialPermission(Kind.Read)]