aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels van Velzen <nielsvanvelzen@users.noreply.github.com>2023-12-16 13:01:13 +0100
committerGitHub <noreply@github.com>2023-12-16 13:01:13 +0100
commit5569ab8b2dca909380e47da700e1fd2f79087e76 (patch)
treee96302aa56df7603130ac03f5446f7e03ad2f3b5
parent6ea4c449064e44b860d252330ea45c922180d81e (diff)
Only upload OpenAPI artifacts for ubuntu-latest tests
-rw-r--r--.github/workflows/ci-tests.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml
index 60c0ef9cb..0e649ec57 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"