docs: Update rust.yml

This commit is contained in:
Ahmet Kaan GÜMÜŞ 2023-09-17 10:00:53 +03:00 committed by GitHub
parent 2d27c3c018
commit 2fcc617468
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,24 +17,24 @@ jobs:
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
uses: TriPSs/conventional-changelog-action@v4
with:
github-token: ${{ secrets.CHANGELOG_RELEASE }}
- name: Release
- uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.CHANGELOG_RELEASE }}
with:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Conventional
id: changelog
uses: TriPSs/conventional-changelog-action@v4
with:
github-token: ${{ secrets.CHANGELOG_RELEASE }}
- name: Release
- uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.CHANGELOG_RELEASE }}
with:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}