CI fix
Some checks failed
🏗️ Build Plugin / build (push) Failing after 42s
🧪 Test Plugin / test (push) Successful in 52s

This commit is contained in:
Duncan Tourolle 2026-02-28 12:14:41 +01:00
parent 66d5faead2
commit 9210532cf1
3 changed files with 15 additions and 9 deletions

View File

@ -23,14 +23,16 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Clean - name: Clean workspace
run: dotnet clean Jellyfin.Plugin.SRFPlay.sln --configuration Release || true run: |
dotnet build-server shutdown || true
rm -rf */bin */obj
- name: Restore dependencies - name: Restore dependencies
run: dotnet restore Jellyfin.Plugin.SRFPlay.sln run: dotnet restore Jellyfin.Plugin.SRFPlay.sln
- name: Build solution - 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 - name: Run tests
run: dotnet test Jellyfin.Plugin.SRFPlay.sln --no-build --configuration Release --verbosity normal run: dotnet test Jellyfin.Plugin.SRFPlay.sln --no-build --configuration Release --verbosity normal

View File

@ -39,14 +39,16 @@ jobs:
sed -i "s/^version:.*/version: \"${VERSION}\"/" build.yaml sed -i "s/^version:.*/version: \"${VERSION}\"/" build.yaml
cat build.yaml cat build.yaml
- name: Clean - name: Clean workspace
run: dotnet clean Jellyfin.Plugin.SRFPlay.sln --configuration Release || true run: |
dotnet build-server shutdown || true
rm -rf */bin */obj
- name: Restore dependencies - name: Restore dependencies
run: dotnet restore Jellyfin.Plugin.SRFPlay.sln run: dotnet restore Jellyfin.Plugin.SRFPlay.sln
- name: Build solution - 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 - name: Run tests
run: dotnet test Jellyfin.Plugin.SRFPlay.sln --no-build --configuration Release --verbosity normal run: dotnet test Jellyfin.Plugin.SRFPlay.sln --no-build --configuration Release --verbosity normal

View File

@ -25,14 +25,16 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Clean - name: Clean workspace
run: dotnet clean Jellyfin.Plugin.SRFPlay.sln --configuration Debug || true run: |
dotnet build-server shutdown || true
rm -rf */bin */obj
- name: Restore dependencies - name: Restore dependencies
run: dotnet restore Jellyfin.Plugin.SRFPlay.sln run: dotnet restore Jellyfin.Plugin.SRFPlay.sln
- name: Build solution - 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 - name: Run tests
run: dotnet test Jellyfin.Plugin.SRFPlay.sln --no-build --configuration Debug --verbosity normal --logger "trx;LogFileName=test-results.trx" run: dotnet test Jellyfin.Plugin.SRFPlay.sln --no-build --configuration Debug --verbosity normal --logger "trx;LogFileName=test-results.trx"