diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 752ae4d..abc0c43 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,7 @@ on: jobs: debug1: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 name: Check commands steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index dbcb1bc..96b0837 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Example: ```yml jobs: example: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 name: Example steps: - uses: actions/checkout@v4 diff --git a/index.js b/index.js index 30e4c5a..53c0133 100644 --- a/index.js +++ b/index.js @@ -22,10 +22,12 @@ async function installPkg(pkgname) { } async function start() { + await exec.exec("lsb_release -r"); + await installPkg("libarchive-tools"); - await exec.exec("sudo su -c \"echo 'deb http://archive.ubuntu.com/ubuntu/ lunar universe' > /etc/apt/sources.list.d/lunar.list\""); - await exec.exec("sudo su -c \"echo 'deb-src http://archive.ubuntu.com/ubuntu/ lunar universe' >> /etc/apt/sources.list.d/lunar.list\""); + await exec.exec("sudo su -c \"echo 'deb http://archive.ubuntu.com/ubuntu/ oracular universe' > /etc/apt/sources.list.d/oracular.list\""); + await exec.exec("sudo su -c \"echo 'deb-src http://archive.ubuntu.com/ubuntu/ oracular universe' >> /etc/apt/sources.list.d/oracular.list\""); await installPkg("pacman-package-manager"); }