Browse Source

Notify on success

Contributes to CURA-9365
j.spijker@ultimaker.com 2 years ago
parent
commit
e0c7259149
1 changed files with 13 additions and 0 deletions
  1. 13 0
      .github/workflows/cura-installer.yml

+ 13 - 0
.github/workflows/cura-installer.yml

@@ -210,3 +210,16 @@ jobs:
                         dist/*.AppImage
                         dist/*.asc
                     retention-days: 2
+
+    notify-export:
+        if: ${{ always() }}
+        needs: [ cura-installer-create ]
+
+        uses: ultimaker/cura/.github/workflows/notify.yml@main
+        with:
+            success: ${{ contains(join(needs.*.result, ','), 'success') }}
+            success_title: "Create the Cura distributions"
+            success_body: "Installers for ${{ inputs.cura_conan_version }}"
+            failure_title: "Failed to create the Cura distributions"
+            failure_body: "Failed to create at least 1 installer for ${{ inputs.cura_conan_version }}"
+        secrets: inherit