Skip to content

Commit

Permalink
[#17] use correct matrix variable
Browse files Browse the repository at this point in the history
  • Loading branch information
SonnyBA committed Jul 17, 2024
1 parent 9c42099 commit 8220319
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: objects-api-${{ matrix.version }}-oas
path: openapi-${{ matrix.component }}.yaml
path: openapi-${{ matrix.version }}.yaml
retention-days: 1

oas-up-to-date:
Expand All @@ -107,7 +107,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
component: ['v1', 'v2']
version: ['v1', 'v2']
steps:
- uses: actions/checkout@v4
- name: Download generated OAS
Expand All @@ -116,7 +116,7 @@ jobs:
name: objects-api-${{ matrix.version }}-oas
- name: Check for OAS changes
run: |
diff openapi-${{ matrix.component }}.yaml src/objects/api/${{ matrix.version }}/openapi.yaml
diff openapi-${{ matrix.version }}.yaml src/objects/api/${{ matrix.version }}/openapi.yaml
- name: Write failure markdown
if: ${{ failure() }}
run: |
Expand Down

0 comments on commit 8220319

Please sign in to comment.