]> sigrok.org Git - sigrok-build.git/commitdiff
build.yml: Release test using action-gh-release
authorSoeren Apel <redacted>
Mon, 4 Mar 2024 22:26:40 +0000 (23:26 +0100)
committerSoeren Apel <redacted>
Mon, 4 Mar 2024 22:26:40 +0000 (23:26 +0100)
.github/workflows/build.yml

index da4ed95a36e23d147c7c82362fc64b55015c7240..05f058b90aedf0666f79dce42afb737994959381 100644 (file)
@@ -496,6 +496,34 @@ jobs:
           path: sigrok-build/ci/macos/sigrok-cli*.dmg
           overwrite: true
 
+  release:
+    name: Create release and add artifacts
+
+    runs-on: ubuntu-latest
+
+    if: |
+      (github.event_name == 'push' && github.ref == 'refs/heads/master') ||
+      (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master')
+    needs:
+      - build_pulseview_mxe
+      - build_sigrok-cli_mxe
+#      - build_pulseview_appimage
+#      - build_sigrok-cli_appimage
+#      - build_pulseview_macos
+#      - build_sigrok-cli_macos
+
+    steps:
+      - name: Create release
+        id: create_release
+        uses: softprops/action-gh-release@v1
+        with:
+          files: |
+            artifact-pulseview-mxe
+            artifact-sigrok-cli-mxe
+          tag_name: continuous
+          generate_release_notes: false
+          draft: false
+
 
   publish:
     name: sigrok artifacts publish