Browse Source

Store the log and build artifacts

jspijker 2 years ago
parent
commit
00f83dd3f8
1 changed files with 14 additions and 0 deletions
  1. 14 0
      .github/workflows/conan-package-create.yml

+ 14 - 0
.github/workflows/conan-package-create.yml

@@ -158,3 +158,17 @@ jobs:
             -   name: Upload the Package(s) community
                 if: ${{ always() && inputs.conan_upload_community == true }}
                 run: conan upload "*" -r cura-ce -c
+
+            -   name: Upload the log and build artifacts
+                if: always()
+                uses: actions/upload-artifact@v3
+                with:
+                    name: log-${{ inputs.runs_on }}-${{ runner.arch }}
+                    path: |
+                        buildinfo.json
+                        conan.lock
+                        conanbuildinfo.txt
+                        conaninfo.txt
+                        graph_info.json
+                        build/**
+                    retention-days: 1