From 34d84599c3440525dab49fb5dde5c24158c414f9 Mon Sep 17 00:00:00 2001 From: Thales Macedo Garitezi Date: Thu, 9 Jun 2022 11:34:58 -0300 Subject: [PATCH] ci(appup): upload appup files when ci check fails Often we have to remember to update both local tags and local dependencies, and even so local results might differ from what the CI check expects. To help fixing expected appup file differences, we can upload what CI produced to apply to our branch. --- .github/workflows/apps_version_check.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/apps_version_check.yaml b/.github/workflows/apps_version_check.yaml index 59d6aebff..c36ceea2a 100644 --- a/.github/workflows/apps_version_check.yaml +++ b/.github/workflows/apps_version_check.yaml @@ -29,3 +29,10 @@ jobs: run: ./scripts/update-appup.sh emqx-ee --check - name: Check apps version run: ./scripts/apps-version-check.sh + - uses: actions/upload-artifact@v3.1.0 + if: failure() + with: + name: expected_appup_files + path: | + {src,apps}/**/*.appup.src + retention-days: 1