Skip to content

Commit

Permalink
test building all debs with fpm
Browse files Browse the repository at this point in the history
  • Loading branch information
sdepassio committed Dec 20, 2024
1 parent 0094f38 commit 6ef150d
Show file tree
Hide file tree
Showing 2 changed files with 394 additions and 85 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/perl-cpan-libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ jobs:
error_output=$(dpkg -i $package 2>&1) || { echo "$error_output" >> $error_log; echo "Error during installation of the package $package" >> $error_log; true; }
echo "Package installation done."
echo "Package uninstallation..."
error_output=$(dpkg --purge $(echo $package | sed 's/_[0-9].*\.deb//' | sed 's/.\///') 2>&1) || { echo "$error_output" >> $error_log; echo "Error during autoremove of the package $package" >> $error_log; true; }
error_output=$(apt autoremove --purge $(echo $package | sed 's/_[0-9].*\.deb//' | sed 's/.\///') 2>&1) || { echo "$error_output" >> $error_log; echo "Error during autoremove of the package $package" >> $error_log; true; }
echo "Package uninstallation done."
done
# If the file error_log exists and is not empty, the workflow is in error
Expand Down
Loading

0 comments on commit 6ef150d

Please sign in to comment.