Update release.yaml

This commit is contained in:
Damien 2025-02-22 04:31:09 -05:00 committed by GitHub
parent fb7c06ccc2
commit 3d68029071
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,14 +26,22 @@ jobs:
# working directory of Cargo.toml
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
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.DAMIEN_TOKEN }}
with:
tag_name: ${{ github.event.inputs.version }}
release_name: Release ${{ github.event.inputs.version }}
tag_name: ${{ steps.crate-version.outputs.version }}
release_name: Release ${{ steps.crate-version.outputs.version }}
draft: false
prerelease: false