Update rust.yml

Remove release stage as this happens (gated) in build
This commit is contained in:
Ryan 2021-01-01 11:07:00 +13:00 committed by GitHub
parent 6d18b7bb1e
commit c09ac166d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,21 +145,3 @@ jobs:
- name: "Run binstall"
run: ./${{ matrix.output }} cargo-binstall --manifest-path . --no-confirm
release:
name: Upload firmware artifacts to release
runs-on: ubuntu-latest
needs: test
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
steps:
- name: Create Release
uses: actions/create-release@v1
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: Release ${{ github.ref }}