Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fxzxmicah committed Oct 15, 2024
1 parent 7dca76f commit f65ac3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
dnf download --source $(find SPECS-PATCHES -name "*.patch" -exec basename {} .patch \; | xargs) &&
rpm -ivh --define "_topdir /workspace" *.src.rpm &&
for patch in SPECS-PATCHES/*.patch; do
pushd SPECS;
patch -p0 < "../$patch" || exit 1;
popd;
pushd SPECS > /dev/null;
patch -p0 < "../$patch" || echo "Patch $patch Failed!"; exit 1;
popd > /dev/null;
done &&
rpmbuild --define "_topdir /workspace" -bs SPECS/*.spec &&
echo "${{ secrets.COPR_API }}" > copr-api &&
Expand Down

0 comments on commit f65ac3d

Please sign in to comment.