From c88445c5968ec55509a19c88b31a6223247a381c Mon Sep 17 00:00:00 2001 From: s3rj1k Date: Wed, 31 Jan 2024 12:47:38 +0100 Subject: [PATCH] Update `compress files` stage file list generation. --- .github/workflows/ci-rpm-packages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-rpm-packages.yml b/.github/workflows/ci-rpm-packages.yml index 26e9ba79..721caa15 100644 --- a/.github/workflows/ci-rpm-packages.yml +++ b/.github/workflows/ci-rpm-packages.yml @@ -84,7 +84,7 @@ jobs: - name: Compress files run: | - tar -czvf ${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz $(ls | grep '.rpm\|hash.txt') + tar -czvf ${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz $(ls -1 | grep -E '(.rpm\|hash.txt)$' | tr -s '\n' ' ') - name: Generate SHA checksum run: |