From 7102b682f589e84c5e9cb40e399a4976e9d761ca Mon Sep 17 00:00:00 2001 From: whiteninja76 <34644528+whiteninja76@users.noreply.github.com> Date: Tue, 16 Jan 2024 13:39:47 +0000 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 72b71dc2..ae9c7d1e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,12 +28,15 @@ jobs: tag_name: "${{ github.ref_name }}-${{github.run_number}}", generate_release_notes: true, }); + + const releaseFile = "platform-status.zip"; + await github.rest.repos.uploadReleaseAsset({ owner: context.repo.owner, repo: context.repo.repo, release_id: release.data.id, name: "platform-status.zip", - data: '@${platform-status.zip}', + data: '@${releaseFile}', }); debug: false result-encoding: "json"