diff --git a/.github/workflows/ci-rpm-packages.yml b/.github/workflows/ci-rpm-packages.yml index 26e9ba79..d595627d 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)$') - name: Generate SHA checksum run: |