From 8cc6b9ee6548329318196a3c1acb60ec601112c2 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Thu, 30 Jan 2025 00:14:36 +0100 Subject: [PATCH] fix(backend):ensure only the intended files are pushed (#8991) --- .github/workflows/qc_checks.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/qc_checks.yaml b/.github/workflows/qc_checks.yaml index 2968a45699..286cfabd7c 100644 --- a/.github/workflows/qc_checks.yaml +++ b/.github/workflows/qc_checks.yaml @@ -233,14 +233,20 @@ jobs: uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # pin@v4.1.8 with: path: artifact + merge-multiple: true - name: Move files to correct location run: | - echo "Version: $version" + echo "Version: ${version}" + echo "before move" + ls -la artifact mkdir export/${version} mv artifact/schema.yml export/${version}/api.yaml mv artifact/inventree_settings.json export/${version}/inventree_settings.json mv artifact/inventree_tags.yml export/${version}/inventree_tags.yml mv artifact/inventree_filters.yml export/${version}/inventree_filters.yml + echo "after move" + ls -la artifact + rm -rf artifact - uses: stefanzweifel/git-auto-commit-action@e348103e9026cc0eee72ae06630dbe30c8bf7a79 # pin@v5.1.0 name: Commit schema changes with: