GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}# This token is provided by Actions, you do not need to create your own token
with:
tag_name:${{ github.ref }}
release_name:${{ github.ref }}
body:|
${{ env.CHANGELOG }}
draft:false
prerelease:false
# Check downloaded files
- run:ls
- name:Upload Release Asset - Linux
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:./linux/geth
asset_name:geth_linux
asset_content_type:application/octet-stream
- name:Upload Release Asset - MacOS
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:./macos/geth
asset_name:geth_mac
asset_content_type:application/octet-stream
- name:Upload Release Asset - Windows
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:./windows/geth.exe
asset_name:geth_windows.exe
asset_content_type:application/octet-stream
- name:Upload Release Asset - MAINNET.ZIP
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:./mainnet.zip
asset_name:mainnet.zip
asset_content_type:application/zip
- name:Upload Release Asset - TESTNET.ZIP
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