Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sdttttt authored Sep 24, 2020
1 parent f2b2001 commit 4534515
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

env:
CARGO_TERM_COLOR: always
UPLOAD_URL: ''

jobs:

Expand Down Expand Up @@ -35,6 +36,8 @@ jobs:
draft: false
prerelease: false

- name: Set ENV
run: ::set-env name=UPLOAD_URL::${{ steps.create_release.outputs.upload_url }}

upload:

Expand Down Expand Up @@ -90,7 +93,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
upload_url: ${{ steps.create_release.outputs.upload_url }}
upload_url: ${{ env.UPLOAD_URL }}
asset_path: gcr.zip
asset_name: GCR-${{ runner.os }}.zip
asset_content_type: application/zip

0 comments on commit 4534515

Please sign in to comment.