fix: Correct notification job condition in prepare-release.yml
- Change job-level if: success() to if: always() - Use step-level condition: if: needs.build-and-release.result == 'success' - Fixes Gitea Actions compatibility issue
This commit is contained in:
@@ -138,11 +138,12 @@ Artifact: quantengine_${VERSION}.tar.gz"
|
|||||||
notification:
|
notification:
|
||||||
name: Release Notification
|
name: Release Notification
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: success()
|
if: always()
|
||||||
needs: build-and-release
|
needs: build-and-release
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Notify Release Ready
|
- name: Notify Release Ready
|
||||||
|
if: needs.build-and-release.result == 'success'
|
||||||
run: |
|
run: |
|
||||||
echo "════════════════════════════════════════"
|
echo "════════════════════════════════════════"
|
||||||
echo "✅ Release Ready for Deployment"
|
echo "✅ Release Ready for Deployment"
|
||||||
|
|||||||
Reference in New Issue
Block a user