diff --git a/.github/workflows/xcat_test.yml b/.github/workflows/xcat_test.yml index a021c08a6..736357bc2 100644 --- a/.github/workflows/xcat_test.yml +++ b/.github/workflows/xcat_test.yml @@ -2,7 +2,7 @@ name: xcat_test on: [pull_request, workflow_dispatch] jobs: xcat_pr_test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 60 steps: - uses: actions/checkout@v6 diff --git a/github_action_xcat_test.pl b/github_action_xcat_test.pl index 74b3f8da8..ec78b8f0d 100644 --- a/github_action_xcat_test.pl +++ b/github_action_xcat_test.pl @@ -307,9 +307,8 @@ sub install_xcat{ my @cmds = ("sudo ./mklocalrepo.sh", "sudo chmod 777 /etc/apt/sources.list", - "sudo echo \"deb [arch=amd64 allow-insecure=yes] http://xcat.org/files/xcat/repos/apt/devel/xcat-dep bionic main\" >> /etc/apt/sources.list", - "sudo echo \"deb [arch=ppc64el allow-insecure=yes] http://xcat.org/files/xcat/repos/apt/devel/xcat-dep bionic main\" >> /etc/apt/sources.list", - "sudo wget -q -O - \"http://xcat.org/files/xcat/repos/apt/apt.key\" | sudo apt-key add -", + "sudo echo \"deb [arch=amd64 allow-insecure=yes] http://xcat.org/files/xcat/repos/apt/latest/xcat-dep noble main\" >> /etc/apt/sources.list", + "sudo echo \"deb [arch=ppc64el allow-insecure=yes] http://xcat.org/files/xcat/repos/apt/latest/xcat-dep noble main\" >> /etc/apt/sources.list", "sudo apt-get -qq --allow-insecure-repositories update"); chdir $ENV{RUNNER_WORKSPACE};;