Skip to content

The Free Software Media System - Server Backend & API

Only upload OpenAPI artifacts for ubuntu-latest tests

Niels van Velzen5569ab8b2dca
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"