2
0
Fork 0
mirror of https://github.com/ethauvin/bld.git synced 2025-04-25 08:17:11 -07:00

Install limbd0 on Ubuntu with sudo

This commit is contained in:
Erik C. Thauvin 2024-08-01 14:02:24 -07:00
parent 7fcbccd565
commit 0aa93b708a
Signed by: erik
GPG key ID: 776702A6A2DA330E
2 changed files with 5 additions and 5 deletions

View file

@ -91,7 +91,7 @@ jobs:
steps: steps:
- name: Install libmd - name: Install libmd
run: apt-get update -qq && apt-get install -y libmd0 run: sudo apt-get update -qq && sudo apt-get install -y libmd0
- name: Checkout source repository - name: Checkout source repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:

View file

@ -7,6 +7,7 @@ package rife.bld.operations;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import rife.bld.operations.exceptions.ExitStatusException; import rife.bld.operations.exceptions.ExitStatusException;
import rife.tools.FileUtils;
import java.nio.file.Files; import java.nio.file.Files;
@ -37,10 +38,9 @@ public class TestJpackageOperation {
assertNotNull(files, "files should not be null"); assertNotNull(files, "files should not be null");
assertTrue(files.length > 0, "No files found"); assertTrue(files.length > 0, "No files found");
for (var file : files) { assertTrue(files[0].getName().matches("bld.*\\.[A-Za-z]{3}"), "Package not found");
System.out.println(file.getName());
file.deleteOnExit(); FileUtils.deleteDirectory(tmpdir);
}
} }
@Test @Test