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"