Skip to content

Commit d26d68a

Browse files
authored
Update release.yml (#1010)
1 parent d89d492 commit d26d68a

File tree

1 file changed

+3
-31
lines changed

1 file changed

+3
-31
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -224,38 +224,10 @@ jobs:
224224
upload-archive-to-release:
225225
# We don't want to upload artifact to the release if the workflow was dispatched manually
226226
if: github.event_name != 'workflow_dispatch'
227-
needs: [release, build-documentation, build-sea-gui, build-sea-config-schema]
227+
needs: [release, build-sea-gui, build-sea-config-schema]
228228
name: Upload Archives to Release
229229
runs-on: ubuntu-latest
230230
steps:
231-
- name: Documentation - Download Archive
232-
uses: actions/download-artifact@v2
233-
id: download-archive-documentation
234-
with:
235-
name: ${{ needs.build-documentation.outputs.documentation-archive-name }}
236-
path: download-archive-documentation
237-
- name: Documentation - Create Archive
238-
id: create-archive-documentation
239-
env:
240-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
241-
NUMERIC_RELEASE_SHORT: ${{ needs.release.outputs.numeric-release-short }}
242-
OUTPUT_DIR: ${{ steps.download-archive-documentation.outputs.download-path }}
243-
run: |
244-
cd "${OUTPUT_DIR}"
245-
zip -r documentation.zip *
246-
247-
echo ::set-output name=release-path::$(realpath "./documentation.zip")
248-
echo ::set-output name=release-asset-name::AWS-SEA-Documentation-v${NUMERIC_RELEASE_SHORT}.zip
249-
- name: Documentation - Upload Release Asset
250-
id: upload-release-asset-documentation
251-
uses: actions/upload-release-asset@v1
252-
env:
253-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
254-
with:
255-
upload_url: ${{ needs.release.outputs.release-asset-url }}
256-
asset_path: ${{ steps.create-archive-documentation.outputs.release-path }}
257-
asset_name: ${{ steps.create-archive-documentation.outputs.release-asset-name }}
258-
asset_content_type: application/zip
259231
- name: SEA-GUI - Download Archive
260232
uses: actions/download-artifact@v2
261233
id: download-archive-sea-gui
@@ -290,7 +262,7 @@ jobs:
290262
with:
291263
name: ${{ needs.build-sea-config-schema.outputs.release-asset-name }}
292264
path: download-archive-sea-config-schema
293-
- name: SEA-GUI - Create Archive
265+
- name: SEA-Config-Schema - Create Archive
294266
id: create-archive-sea-config-schema
295267
env:
296268
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -302,7 +274,7 @@ jobs:
302274
303275
echo ::set-output name=release-path::$(realpath "./archive.zip")
304276
echo ::set-output name=release-asset-name::AWS-SEA-Config-Schema-v${NUMERIC_RELEASE_SHORT}-DRAFT.zip
305-
- name: SEA-GUI - Upload Release Asset
277+
- name: SEA-Config-Schema - Upload Release Asset
306278
id: upload-release-asset-sea-config-schema
307279
uses: actions/upload-release-asset@v1
308280
env:

0 commit comments

Comments
 (0)