Skip to content

Commit

Permalink
Merge pull request #1427 from SciCatProject/fix-improve-sdk
Browse files Browse the repository at this point in the history
fix: swagger-schema artifact is missing commit id
  • Loading branch information
nitrosx authored Sep 19, 2024
2 parents 4b4951a + 72ccf7f commit 884f77b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-and-publish-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: swagger-schema
name: swagger-schema-${{ github.sha }}
path: ./swagger-schema.json

generate-upload-sdk:
Expand All @@ -139,7 +139,7 @@ jobs:

- uses: actions/download-artifact@v4
with:
name: swagger-schema
name: swagger-schema-${{ github.sha }}
path: .

- name: Generate Client
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upload-sdk-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: swagger-schema
name: swagger-schema-${{ github.sha }}
path: ./swagger-schema.json

generate-and-upload-sdk:
Expand All @@ -56,7 +56,7 @@ jobs:

- uses: actions/download-artifact@v4
with:
name: swagger-schema
name: swagger-schema-${{ github.sha }}
path: .

- name: Generate Client
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

[![Test](https://github.com/SciCatProject/scicat-backend-next/actions/workflows/test.yml/badge.svg)](https://github.com/SciCatProject/scicat-backend-next/actions/workflows/test.yml)
[![Deploy](https://github.com/SciCatProject/scicat-backend-next/actions/workflows/deploy.yml/badge.svg)](https://github.com/SciCatProject/scicat-backend-next/actions/workflows/deploy.yml)
[![Generate and upload latest SDK artifacts](https://github.com/SciCatProject/scicat-backend-next/actions/workflows/upload-sdk-artifact.yml/badge.svg?branch=master)](https://github.com/SciCatProject/scicat-backend-next/actions/workflows/upload-sdk-artifact.yml)
[![DeepScan grade](https://deepscan.io/api/teams/8394/projects/19251/branches/494247/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=8394&pid=19251&bid=494247)
[![Known Vulnerabilities](https://snyk.io/test/github/SciCatProject/scicat-backend-next/master/badge.svg?targetFile=package.json)](https://snyk.io/test/github/SciCatProject/scicat-backend-next/master?targetFile=package.json)

Expand Down

0 comments on commit 884f77b

Please sign in to comment.