diff --git a/.github/workflows/rpmlint.yml b/.github/workflows/rpmlint.yml index 7ee16c4..596b276 100644 --- a/.github/workflows/rpmlint.yml +++ b/.github/workflows/rpmlint.yml @@ -30,10 +30,11 @@ jobs: uses: actions/checkout@v4 - name: Find spec files - id: spec-files - run: find ./*/*/ -type 'f' | grep ".spec" + run: | + SPECS=$(find ./ -type 'f' | grep ".spec") + echo "SPECS=$SPECS" >> $GITHUB_ENV - name: Run rpmlint uses: EyeCantCU/rpmlint-action@v0.1.0 with: - rpmfiles: ${{ steps.spec-files.outputs }} + rpmfiles: ${{ env.SPECS }}