docs: Update rust.yml
This commit is contained in:
parent
3c0ca42a33
commit
c6d4d643ea
1 changed files with 6 additions and 6 deletions
10
.github/workflows/rust.yml
vendored
10
.github/workflows/rust.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@latest
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --verbose
|
run: cargo build --verbose
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
@ -25,18 +25,18 @@ jobs:
|
||||||
|
|
||||||
- name: Conventional
|
- name: Conventional
|
||||||
id: changelog_id
|
id: changelog_id
|
||||||
uses: TriPSs/conventional-changelog-action@v4
|
uses: TriPSs/conventional-changelog-action@latest
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
id: release_id
|
id: release_id
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@latest
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ steps.changelog_id.outputs.tag }}
|
tag_name: ${{ steps.changelog_id.outputs.tag }}
|
||||||
release_name: ${{ github.event.release.tag_name }}
|
name: ${{ steps.changelog_id.outputs.tag }}
|
||||||
body: ${{ steps.changelog_id.outputs.clean_changelog }}
|
body: ${{steps.changelog_id.outputs.clean_changelog}}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue