From 66d5faead2d1002fd489ada0c158ae4b419a20e3 Mon Sep 17 00:00:00 2001 From: Duncan Tourolle Date: Sat, 28 Feb 2026 12:12:37 +0100 Subject: [PATCH] build system cleans before build --- .gitea/workflows/build.yaml | 5 ++++- .gitea/workflows/release.yaml | 5 ++++- .gitea/workflows/test.yaml | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index a4dcc0f..ddd44b2 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -15,7 +15,7 @@ on: jobs: build: - runs-on: ubuntu-22.04 + runs-on: linux/amd64 container: image: gitea.tourolle.paris/dtourolle/srfplay-builder:latest @@ -23,6 +23,9 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Clean + run: dotnet clean Jellyfin.Plugin.SRFPlay.sln --configuration Release || true + - name: Restore dependencies run: dotnet restore Jellyfin.Plugin.SRFPlay.sln diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 26983f7..58e888b 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -13,7 +13,7 @@ on: jobs: build-and-release: - runs-on: ubuntu-22.04 + runs-on: linux/amd64 container: image: gitea.tourolle.paris/dtourolle/srfplay-builder:latest @@ -39,6 +39,9 @@ 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: Restore dependencies run: dotnet restore Jellyfin.Plugin.SRFPlay.sln diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 70a902b..3e5faff 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -17,7 +17,7 @@ on: jobs: test: - runs-on: ubuntu-22.04 + runs-on: linux/amd64 container: image: gitea.tourolle.paris/dtourolle/srfplay-builder:latest @@ -25,6 +25,9 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Clean + run: dotnet clean Jellyfin.Plugin.SRFPlay.sln --configuration Debug || true + - name: Restore dependencies run: dotnet restore Jellyfin.Plugin.SRFPlay.sln