From 44065bd5b47133ec08d5b55c7f781d27f9ca3cf7 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..dc728f9d 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: |