diff --git a/.github/workflows/rpm-build.yml b/.github/workflows/rpm-build.yml index 352460f..8d7022f 100644 --- a/.github/workflows/rpm-build.yml +++ b/.github/workflows/rpm-build.yml @@ -284,7 +284,7 @@ jobs: path: ${{ inputs.PACKAGING_DIR }}/packaging - name: Examine repo # yamllint disable rule:line-length - run: set -x; git status; git diff; ${{ inputs.NAME == 'daos' && rm -rf packaging/ || true }}; git status + run: set -x; git status; git diff; [ "${{ inputs.NAME }}" = "daos" ]] && rm -rf packaging/ || true; git status - name: Import commit pragmas uses: daos-stack/action-import-commit-pragmas@v1 with: