# Build on every push and pull request. Runs in the .NET 10 SDK image (runner label "dotnet"). name: CI on: push: branches: [master] pull_request: jobs: build: runs-on: dotnet steps: - name: Checkout run: | git init -q . git remote add origin "${{ gitea.server_url }}/${{ gitea.repository }}.git" git fetch -q --depth 1 origin "${{ gitea.ref }}" git checkout -q FETCH_HEAD git log --oneline -1 - name: Build run: | dotnet publish src/Jellyfin.Plugin.LightsOffTimer/Jellyfin.Plugin.LightsOffTimer.csproj \ -c Release -o out --nologo ls -l out/Jellyfin.Plugin.LightsOffTimer.dll - name: Check manifest.json run: | apt-get -qq update >/dev/null && apt-get -qq install -y jq >/dev/null jq -e '.[0].guid and .[0].name and (.[0].versions | type == "array")' manifest.json >/dev/null jq -r '.[0].versions[] | "\(.version) abi \(.targetAbi) \(.sourceUrl)"' manifest.json