From efaabfa43a490e48ef2cbd1859b492153f4b3cef Mon Sep 17 00:00:00 2001 From: ir20 <60230695+ir20@users.noreply.github.com> Date: Tue, 24 Nov 2020 16:43:52 -0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index de1da43..d79ab98 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,6 +7,9 @@ on: jobs: create-release: runs-on: ubuntu-18.04 + outputs: + upload_url: ${{ steps.create-release.outputs.upload_url }} + id: ${{ steps.create-release.outputs.id }} steps: - id: create-release uses: actions/create-release@v1 @@ -122,7 +125,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ needs.create-release.outputs.create-release.upload_url }} + upload_url: ${{ needs.create-release.outputs.upload_url }} asset_path: ./${{ env.arch }}.zip asset_name: ${{ env.arch }}.zip asset_content_type: application/zip @@ -137,4 +140,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - release_id: ${{ needs.create-release.outputs.create-release.id }} + release_id: ${{ needs.create-release.outputs.id }}