CI fix
This commit is contained in:
parent
66d5faead2
commit
9210532cf1
@ -23,14 +23,16 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Clean
|
||||
run: dotnet clean Jellyfin.Plugin.SRFPlay.sln --configuration Release || true
|
||||
- name: Clean workspace
|
||||
run: |
|
||||
dotnet build-server shutdown || true
|
||||
rm -rf */bin */obj
|
||||
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore Jellyfin.Plugin.SRFPlay.sln
|
||||
|
||||
- name: Build solution
|
||||
run: dotnet build Jellyfin.Plugin.SRFPlay.sln --configuration Release --no-restore --no-self-contained
|
||||
run: dotnet build Jellyfin.Plugin.SRFPlay.sln --configuration Release --no-restore --no-self-contained --disable-build-servers
|
||||
|
||||
- name: Run tests
|
||||
run: dotnet test Jellyfin.Plugin.SRFPlay.sln --no-build --configuration Release --verbosity normal
|
||||
|
||||
@ -39,14 +39,16 @@ jobs:
|
||||
sed -i "s/^version:.*/version: \"${VERSION}\"/" build.yaml
|
||||
cat build.yaml
|
||||
|
||||
- name: Clean
|
||||
run: dotnet clean Jellyfin.Plugin.SRFPlay.sln --configuration Release || true
|
||||
- name: Clean workspace
|
||||
run: |
|
||||
dotnet build-server shutdown || true
|
||||
rm -rf */bin */obj
|
||||
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore Jellyfin.Plugin.SRFPlay.sln
|
||||
|
||||
- name: Build solution
|
||||
run: dotnet build Jellyfin.Plugin.SRFPlay.sln --configuration Release --no-restore --no-self-contained
|
||||
run: dotnet build Jellyfin.Plugin.SRFPlay.sln --configuration Release --no-restore --no-self-contained --disable-build-servers
|
||||
|
||||
- name: Run tests
|
||||
run: dotnet test Jellyfin.Plugin.SRFPlay.sln --no-build --configuration Release --verbosity normal
|
||||
|
||||
@ -25,14 +25,16 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Clean
|
||||
run: dotnet clean Jellyfin.Plugin.SRFPlay.sln --configuration Debug || true
|
||||
- name: Clean workspace
|
||||
run: |
|
||||
dotnet build-server shutdown || true
|
||||
rm -rf */bin */obj
|
||||
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore Jellyfin.Plugin.SRFPlay.sln
|
||||
|
||||
- name: Build solution
|
||||
run: dotnet build Jellyfin.Plugin.SRFPlay.sln --configuration Debug --no-restore --no-self-contained
|
||||
run: dotnet build Jellyfin.Plugin.SRFPlay.sln --configuration Debug --no-restore --no-self-contained --disable-build-servers
|
||||
|
||||
- name: Run tests
|
||||
run: dotnet test Jellyfin.Plugin.SRFPlay.sln --no-build --configuration Debug --verbosity normal --logger "trx;LogFileName=test-results.trx"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user