Skip to content

docs: Update rust.yml #47

docs: Update rust.yml

docs: Update rust.yml #47

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Conventional
id: changelog_id
uses: TriPSs/conventional-changelog-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release
id: release_id
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ echo(steps.release_id.outputs.tag) }}

Check failure on line 38 in .github/workflows/rust.yml

View workflow run for this annotation

GitHub Actions / Rust

Invalid workflow file

The workflow is not valid. .github/workflows/rust.yml (Line: 38, Col: 24): Unrecognized function: 'echo'. Located at position 1 within expression: echo(steps.release_id.outputs.tag)
release_name: ${{ github.event.release.tag_name }}
body: ${{ steps.changelog_id.outputs.clean_changelog }}