workflow_tag_fix (#33)
Some checks failed
Release Tagging / release (push) Failing after 37s
Rust Build / Check (push) Successful in 28s
Rust Build / Test Suite (push) Successful in 36s
Rust Build / Rustfmt (push) Successful in 29s
Rust Build / Clippy (push) Successful in 29s
Rust Build / build (push) Successful in 34s
Rust Build / Clippy (pull_request) Successful in 32s
Rust Build / build (pull_request) Successful in 28s
Rust Build / Check (pull_request) Successful in 26s
Rust Build / Test Suite (pull_request) Successful in 29s
Rust Build / Rustfmt (pull_request) Successful in 27s

Reviewed-on: #33
Co-authored-by: phoenix <kundeng94@gmail.com>
Co-committed-by: phoenix <kundeng94@gmail.com>
This commit is contained in:
2025-04-05 21:27:50 +00:00
committed by phoenix
parent c555110367
commit 8a08672423

View File

@@ -42,6 +42,12 @@ jobs:
echo "Printing version" echo "Printing version"
echo "Version: ${{ steps.version.outputs.project_tag_release }}" echo "Version: ${{ steps.version.outputs.project_tag_release }}"
- name: Check Branch
if: github.ref != 'refs/heads/main' || github.ref != 'refs/heads/devel' # Replace 'main' with your required branch
run: |
echo "::error::Release can only be created from the 'main' branch."
exit 1
- name: Create GitHub Release - name: Create GitHub Release
uses: actions/create-release@v1 uses: actions/create-release@v1
env: env: