Skip to content

Commit

Permalink
Merge pull request #157 from sjsrey/relfix
Browse files Browse the repository at this point in the history
Update release action for deprecation of set env
  • Loading branch information
knaaptime authored Dec 29, 2020
2 parents 353f53b + 229c8df commit 0236651
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/upload_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ jobs:
run: |
export PKG=$(ls dist/)
set -- $PKG
echo "::set-env name=whl_path::$1"
echo "name=$1" >> $GITHUB_ENV
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # 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
asset_path: dist/${{ env.whl_path }}
asset_name: ${{ env.whl_path }}
asset_path: dist/${{ env.name }}
asset_name: ${{ env.name }}
asset_content_type: application/zip

0 comments on commit 0236651

Please sign in to comment.