Correcting action workflow (#12)
All checks were successful
Release Tagging / release (push) Successful in 37s
Rust Build / Check (push) Successful in 32s
Rust Build / Test Suite (push) Successful in 34s
Rust Build / Rustfmt (push) Successful in 29s
Rust Build / Clippy (push) Successful in 31s
Rust Build / build (push) Successful in 34s
Rust Build / Check (pull_request) Successful in 34s
Rust Build / Test Suite (pull_request) Successful in 43s
Rust Build / Rustfmt (pull_request) Successful in 31s
Rust Build / Clippy (pull_request) Successful in 41s
Rust Build / build (pull_request) Successful in 40s

Reviewed-on: #12
Co-authored-by: phoenix <kundeng94@gmail.com>
Co-committed-by: phoenix <kundeng94@gmail.com>
This commit is contained in:
2025-04-05 22:00:41 +00:00
committed by phoenix
parent f68d01d50f
commit 8bc49e781b

View File

@@ -3,9 +3,8 @@ name: Release Tagging
on:
push:
branches:
- main
- devel
tags:
- 'v*' # Trigger on tags matching v*
jobs:
release:
@@ -42,12 +41,6 @@ jobs:
echo "Printing version"
echo "Version: ${{ steps.version.outputs.project_tag_release }}"
- name: Check Branch
if: github.ref != 'refs/heads/devel' || 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
uses: actions/create-release@v1
env: