docs: Update rust.yml
This commit is contained in:
parent
2d27c3c018
commit
2fcc617468
1 changed files with 19 additions and 19 deletions
38
.github/workflows/rust.yml
vendored
38
.github/workflows/rust.yml
vendored
|
@ -17,24 +17,24 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --verbose
|
run: cargo build --verbose
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --verbose
|
run: cargo test --verbose
|
||||||
- name: Conventional
|
- name: Conventional
|
||||||
id: changelog
|
id: changelog
|
||||||
uses: TriPSs/conventional-changelog-action@v4
|
uses: TriPSs/conventional-changelog-action@v4
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.CHANGELOG_RELEASE }}
|
github-token: ${{ secrets.CHANGELOG_RELEASE }}
|
||||||
- name: Release
|
- name: Release
|
||||||
- uses: actions/create-release@v1
|
- uses: actions/create-release@v1
|
||||||
if: ${{ steps.changelog.outputs.skipped == 'false' }}
|
if: ${{ steps.changelog.outputs.skipped == 'false' }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.CHANGELOG_RELEASE }}
|
GITHUB_TOKEN: ${{ secrets.CHANGELOG_RELEASE }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ steps.changelog.outputs.tag }}
|
tag_name: ${{ steps.changelog.outputs.tag }}
|
||||||
release_name: ${{ steps.changelog.outputs.tag }}
|
release_name: ${{ steps.changelog.outputs.tag }}
|
||||||
body: ${{ steps.changelog.outputs.clean_changelog }}
|
body: ${{ steps.changelog.outputs.clean_changelog }}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue