Update release.yaml
This commit is contained in:
parent
fb7c06ccc2
commit
3d68029071
12
.github/workflows/release.yaml
vendored
12
.github/workflows/release.yaml
vendored
@ -26,14 +26,22 @@ jobs:
|
|||||||
# working directory of Cargo.toml
|
# working directory of Cargo.toml
|
||||||
cwd: ./src-tauri/
|
cwd: ./src-tauri/
|
||||||
|
|
||||||
|
- name: Rust Crate Version
|
||||||
|
# You may pin to the exact commit or the version.
|
||||||
|
# uses: colt-1/crate-version@f0081b509cc5c928cf4e807219479a481f969341
|
||||||
|
uses: colt-1/crate-version@2.0.0
|
||||||
|
with:
|
||||||
|
# The relative path of toml file
|
||||||
|
file: ./src-tauri/Cargo.toml
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.DAMIEN_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.DAMIEN_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.event.inputs.version }}
|
tag_name: ${{ steps.crate-version.outputs.version }}
|
||||||
release_name: Release ${{ github.event.inputs.version }}
|
release_name: Release ${{ steps.crate-version.outputs.version }}
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user