Skip to content

Commit

Permalink
Use empty string if false
Browse files Browse the repository at this point in the history
Signed-off-by: Brian J. Murrell <brian.murrell@intel.com>
  • Loading branch information
brianjmurrell committed Nov 27, 2024
1 parent 27659ef commit bb9a1c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rpm-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ jobs:
continue-on-error: true
run: |
set -eux
repo_path="$REPO_PATH$GITHUB_RUN_NUMBER/artifact/artifacts/${{ !inputs.COVFN_DISABLED && 'bullseye/' }}"
repo_path="$REPO_PATH$GITHUB_RUN_NUMBER/artifact/artifacts/${{ !inputs.COVFN_DISABLED && 'bullseye/' || '' }}"
mkdir -p "$repo_path$TARGET"
cp -a mock_result/${CHROOT_NAME}/*.rpm "$repo_path$TARGET"
cd "$repo_path$TARGET"
Expand All @@ -414,7 +414,7 @@ jobs:
continue-on-error: true
run: |
dnf --disablerepo=\* --repofrompath \
testrepo,file://${REPO_PATH}${{ github.run_number }}/artifact/artifacts/${{ !inputs.COVFN_DISABLED && 'bullseye/' }}$TARGET \
testrepo,file://${REPO_PATH}${{ github.run_number }}/artifact/artifacts/${{ !inputs.COVFN_DISABLED && 'bullseye/' || '' }}$TARGET \
repoquery -a
- name: Remove lastSuccessfulBuild link and exit failure
if: steps.test-repo.outcome != 'success'
Expand Down

0 comments on commit bb9a1c6

Please sign in to comment.