From 5569ab8b2dca909380e47da700e1fd2f79087e76 Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Sat, 16 Dec 2023 13:01:13 +0100 Subject: [PATCH 1/2] Only upload OpenAPI artifacts for ubuntu-latest tests --- .github/workflows/ci-tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 60c0ef9cb1..0e649ec574 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -16,6 +16,9 @@ jobs: strategy: matrix: os: ["ubuntu-latest", "macos-latest", "windows-latest"] + include: + - os: ubuntu-latest + openapi: true runs-on: "${{ matrix.os }}" steps: @@ -44,6 +47,7 @@ jobs: # - name: Publish code coverage results - name: Publish OpenAPI Artifact + if: ${{ matrix.openapi }} uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4 with: name: "OpenAPI Spec" From 73d42980fcdc11538fceba98e2a1317d45133792 Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Sat, 16 Dec 2023 13:04:41 +0100 Subject: [PATCH 2/2] Remove OpenAPI artifact upload from test workflow --- .github/workflows/ci-tests.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 0e649ec574..323d920453 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -16,9 +16,6 @@ jobs: strategy: matrix: os: ["ubuntu-latest", "macos-latest", "windows-latest"] - include: - - os: ubuntu-latest - openapi: true runs-on: "${{ matrix.os }}" steps: @@ -45,10 +42,3 @@ jobs: # TODO - which action / tool to use to publish code coverage results? # - name: Publish code coverage results - - - name: Publish OpenAPI Artifact - if: ${{ matrix.openapi }} - uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4 - with: - name: "OpenAPI Spec" - path: "tests/Jellyfin.Server.Integration.Tests/bin/Release/net*/openapi.json"