mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-04 21:35:47 -05:00
ubuntu 26.04 install check (#7288)
Adds Ubuntu 26.04 to the install checks. PHP comes from Sury's repository there, since the PHP PPA has no 26.04 build.
This commit is contained in:
@@ -75,6 +75,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu:26.04
|
||||
- ubuntu:24.04
|
||||
- ubuntu:22.04
|
||||
- debian:13
|
||||
@@ -87,14 +88,15 @@ jobs:
|
||||
shell: bash
|
||||
steps:
|
||||
- name: Add repositories (Ubuntu)
|
||||
if: startsWith(matrix.os, 'ubuntu')
|
||||
if: startsWith(matrix.os, 'ubuntu') && matrix.os != 'ubuntu:26.04'
|
||||
run: |
|
||||
apt-get update
|
||||
apt -y install software-properties-common curl
|
||||
LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php
|
||||
|
||||
- name: Add repositories (Debian)
|
||||
if: startsWith(matrix.os, 'debian')
|
||||
# The PHP PPA has no Ubuntu 26.04 build, so it uses Sury's repository like Debian.
|
||||
- name: Add repositories (Debian and Ubuntu 26.04)
|
||||
if: startsWith(matrix.os, 'debian') || matrix.os == 'ubuntu:26.04'
|
||||
run: |
|
||||
apt-get update
|
||||
apt -y install curl ca-certificates gnupg2 lsb-release
|
||||
|
||||
Reference in New Issue
Block a user