SHA256
Some action cleanup.
This commit is contained in:
@@ -22,17 +22,6 @@ jobs:
|
|||||||
# If triggered by push, GITHUB_REF_NAME is the tag.
|
# If triggered by push, GITHUB_REF_NAME is the tag.
|
||||||
ref: ${{ inputs.tag_name || gitea.ref_name }}
|
ref: ${{ inputs.tag_name || gitea.ref_name }}
|
||||||
|
|
||||||
# - name: Verify Version
|
|
||||||
# run: |
|
|
||||||
# TAG=${{ inputs.tag_name || gitea.ref_name }}
|
|
||||||
# CARGO_VERSION=$(grep '^version = ' Cargo.toml | head -1 | cut -d'"' -f2)
|
|
||||||
# echo "Building tag: $TAG"
|
|
||||||
# echo "Cargo.toml version: $CARGO_VERSION"
|
|
||||||
# # Optional: Fail if tag doesn't match Cargo.toml
|
|
||||||
# if [ "v$CARGO_VERSION" != "$TAG" ]; then
|
|
||||||
# echo "::warning::Tag ($TAG) does not match Cargo.toml version (v$CARGO_VERSION)"
|
|
||||||
# fi
|
|
||||||
|
|
||||||
- name: Setup Rust toolchain
|
- name: Setup Rust toolchain
|
||||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user