Skip to content

Commit

Permalink
fix: swagger-schema artifact is missing commit ID
Browse files Browse the repository at this point in the history
  • Loading branch information
Junjiequan committed Sep 19, 2024
1 parent 4b4951a commit 2f55a35
Show file tree
Hide file tree
Showing 2 changed files with 4 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

0 comments on commit 2f55a35

Please sign in to comment.