Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ir20 authored Nov 25, 2020
1 parent e5fcd35 commit efaabfa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit efaabfa

Please sign in to comment.