Skip to content

Commit 0e357a7

Browse files
committed
remove upload_merged_openapi step from openapi.yml GA
1 parent c7915d8 commit 0e357a7

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

.github/workflows/openapi.yml

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -112,46 +112,3 @@ jobs:
112112
with:
113113
swagger-editor-url: http://localhost/
114114
definition-file: openapi.yaml
115-
116-
upload_merged_openapi:
117-
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
118-
runs-on: ubuntu-latest
119-
needs: validate_merged_openapi
120-
concurrency:
121-
group: openapi-upload_${{ github.ref }}
122-
cancel-in-progress: false
123-
steps:
124-
125-
- name: Retrieve branch or tag name
126-
id: refvar
127-
run: echo "::set-output name=gitRefName::${GITHUB_REF#refs/*/}"
128-
129-
- name: Download openapi artifact
130-
uses: actions/download-artifact@v4
131-
with:
132-
name: openapi
133-
134-
- name: azure login
135-
uses: azure/[email protected]
136-
with:
137-
creds: ${{ secrets.AZURE_CREDENTIALS }}
138-
139-
- name: Upload tagged openapi.yml to Azure Storage
140-
if: startsWith(github.ref, 'refs/tags/')
141-
run: |
142-
az storage blob upload \
143-
--account-name csmphoenixdev \
144-
--container-name public \
145-
--name openapi-${{ steps.refvar.outputs.gitRefName }}.yaml \
146-
--overwrite \
147-
--file openapi.yaml
148-
149-
- name: Upload openapi.yml to Azure Storage
150-
if: github.ref == 'refs/heads/main'
151-
run: |
152-
az storage blob upload \
153-
--account-name csmphoenixdev \
154-
--container-name public \
155-
--name openapi.yaml \
156-
--overwrite \
157-
--file openapi.yaml

0 commit comments

Comments
 (0)