From 91bedb037b0fb3e2864dc377d5042508cb24145f Mon Sep 17 00:00:00 2001 From: Ni55aN Date: Sat, 28 Dec 2024 16:28:14 +0200 Subject: [PATCH] ci: upload on fail --- .github/workflows/regression.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index 8b527d1..c5e285c 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -112,6 +112,12 @@ jobs: run: rete-qa init -s ${{ inputs.name }} -sv ${{ inputs.version }} ${{ inputs.deps && '--deps-alias deps.json' || '' }} env: CI: "" + - name: Upload apps if initialization fails + if: failure() + uses: actions/upload-artifact@v4 + with: + name: rete-qa-${{ inputs.name }}-v${{ inputs.version }} + path: .rete-qa/apps - name: Prune node_modules run: npx rimraf --glob **/node_modules working-directory: .rete-qa