Skip to content

Commit fcb044f

Browse files
Add the python and ts sdks to the release.
1 parent c1b4fe9 commit fcb044f

File tree

1 file changed

+38
-3
lines changed

1 file changed

+38
-3
lines changed

.github/workflows/stage-5-publish.yaml

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,21 +61,56 @@ jobs:
6161
draft: false
6262
prerelease: ${{ inputs.is_version_prerelease == 'true'}}
6363

64+
65+
- name: "Upload jeykll docs release asset"
66+
uses: actions/upload-release-asset@v1
67+
env:
68+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
69+
with:
70+
upload_url: "${{ steps.create_release.outputs.upload_url }}"
71+
asset_path: ./artifacts/jekyll-docs-${{ inputs.version }}/artifact.tar
72+
asset_name: jekyll-docs-${{ inputs.version }}.tar
73+
asset_content_type: "application/gzip"
74+
6475
#- name: "tar gz jekyll docs release asset"
6576
# # Git hub pages needs a single tar called artifact inside the zip.
6677
# working-directory: ./artifacts/jekyll-docs-${{ inputs.version }}
6778
# run: zip jekyll-docs-${{ inputs.version }}.zip ./artifact.tar
6879
# shell: bash
69-
- name: "Upload jeykll docs release asset"
80+
81+
- name: "tar gz sdk ts release asset"
82+
# Git hub pages needs a single tar called artifact inside the zip.
83+
working-directory: ./artifacts
84+
run: zip sdk-ts-${{ inputs.version }}.zip ./sdk-ts-${{ inputs.version }}
85+
shell: bash
86+
87+
- name: "Upload sdk ts release asset"
7088
uses: actions/upload-release-asset@v1
7189
env:
7290
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7391
with:
7492
upload_url: "${{ steps.create_release.outputs.upload_url }}"
75-
asset_path: ./artifacts/jekyll-docs-${{ inputs.version }}/artifact.tar
76-
asset_name: jekyll-docs-${{ inputs.version }}.tar
93+
asset_path: ./artifacts/sdk-ts-${{ inputs.version }}.zip
94+
asset_name: sdk-ts-${{ inputs.version }}.zip
95+
asset_content_type: "application/gzip"
96+
97+
- name: "tar gz sdk python release asset"
98+
# Git hub pages needs a single tar called artifact inside the zip.
99+
working-directory: ./artifacts
100+
run: zip sdk-python-${{ inputs.version }}.zip ./sdk-python-${{ inputs.version }}
101+
shell: bash
102+
103+
- name: "Upload sdk python release asset"
104+
uses: actions/upload-release-asset@v1
105+
env:
106+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
107+
with:
108+
upload_url: "${{ steps.create_release.outputs.upload_url }}"
109+
asset_path: ./artifacts/sdk-python-${{ inputs.version }}.zip
110+
asset_name: sdk-python-${{ inputs.version }}.zip
77111
asset_content_type: "application/gzip"
78112

113+
79114
# - name: "Upload other release asset 1"
80115
# uses: actions/upload-release-asset@v1
81116
# env:

0 commit comments

Comments
 (0)