Only upload OpenAPI artifacts for ubuntu-latest tests

pull/10736/head
Niels van Velzen 1 year ago committed by GitHub
parent 6ea4c44906
commit 5569ab8b2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -16,6 +16,9 @@ jobs:
strategy: strategy:
matrix: matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"] os: ["ubuntu-latest", "macos-latest", "windows-latest"]
include:
- os: ubuntu-latest
openapi: true
runs-on: "${{ matrix.os }}" runs-on: "${{ matrix.os }}"
steps: steps:
@ -44,6 +47,7 @@ jobs:
# - name: Publish code coverage results # - name: Publish code coverage results
- name: Publish OpenAPI Artifact - name: Publish OpenAPI Artifact
if: ${{ matrix.openapi }}
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4 uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4
with: with:
name: "OpenAPI Spec" name: "OpenAPI Spec"

Loading…
Cancel
Save