mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-06-08 07:15:15 -04:00
Fixing CI
This commit is contained in:
@@ -31,12 +31,12 @@ jobs:
|
||||
workflow: build.yml
|
||||
path: ./artifacts
|
||||
github_token: ${{secrets.GITHUB_TOKEN}}
|
||||
- name: Public the common to nuget
|
||||
- name: Public the abstractions to nuget
|
||||
id: publish_nuget
|
||||
uses: rohith/publish-nuget@v2
|
||||
with:
|
||||
PROJECT_FILE_PATH: Kyoo.Common/Kyoo.Common.csproj
|
||||
PACKAGE_NAME: Kyoo.Common
|
||||
PROJECT_FILE_PATH: Kyoo.Abstractions/Kyoo.Abstractions.csproj
|
||||
PACKAGE_NAME: Kyoo.Abstractions
|
||||
VERSION_REGEX: ^\s*<PackageVersion>(.*)<\/PackageVersion>\s*$
|
||||
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
|
||||
INCLUDE_SYMBOLS: true
|
||||
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
- name: Build
|
||||
run: |
|
||||
dotnet build --no-restore '-p:SkipWebApp=true;SkipTranscoder=true' -p:CopyLocalLockFileAssemblies=true
|
||||
cp ./Kyoo.Common/bin/Debug/net5.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll ./tests/Kyoo.Tests/bin/Debug/net5.0/
|
||||
cp ./Kyoo.Abstractions/bin/Debug/net5.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll ./tests/Kyoo.Tests/bin/Debug/net5.0/
|
||||
- name: Test
|
||||
run: dotnet test --no-build '-p:CollectCoverage=true;CoverletOutputFormat=opencover'
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user