name:Ruston:push:branches:["master"]pull_request:branches:["master"]env:CARGO_TERM_COLOR:alwaysjobs:build:runs-on:ubuntu-lateststeps:-uses:actions/checkout@v3-name:GetEnvironmentrun:|echo'VERSION=1.0.0'>>$GITHUB_ENVecho'NAME=1.0.0'>>$GITHUB_ENV-name:DisplayEnvironmentrun:|echo$env:VERSIONecho$env:NAME-name:CreateReleaseid:create_releaseuses:actions/create-release@v1env:GITHUB_TOKEN:${{secrets.GITHUB_TOKEN}}with:tag_name:${{env.VERSION}}release_name:${{env.VERSION}}draft:falseprerelease:false-name:UploadReleaseAssetid:upload-release-assetuses:actions/upload-release-asset@v1env: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:./target/release/${{env.NAME}}.exeasset_name:${{env.NAME}}.exeasset_content_type:application/octet-stream