Skip to content

Commit cf4cade

Browse files
committed
Drop support for ubuntu-20.04 [skip ci]
1 parent 316da6e commit cf4cade

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ body:
4242
id: operating-systems
4343
attributes:
4444
label: "Operating systems"
45-
placeholder: "e.g., Ubuntu 20.04, Windows Server 2019, etc."
45+
placeholder: "e.g., Ubuntu 22.04, Windows Server 2022, etc."
4646
validations:
4747
required: true
4848

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
operating-system: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04, windows-2022, macos-13]
18+
operating-system: [ubuntu-24.04, ubuntu-22.04, windows-2022, macos-13]
1919
php-versions: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
2020
steps:
2121
- name: Setup PHP
@@ -114,7 +114,7 @@ jobs:
114114
git config --local user.name "${{ github.repository_owner }}"
115115
- name: Combine
116116
run: |
117-
for os in ubuntu-24.04 ubuntu-22.04 ubuntu-20.04 windows-2022 windows-2019 macos-13 macos-14 macos-15; do
117+
for os in ubuntu-24.04 ubuntu-22.04 windows-2022 windows-2019 macos-13 macos-14 macos-15; do
118118
echo "These are extensions which are loaded by default on the following PHP versions. More extensions which are available as packages and available on pecl are supported by setup-php. Refer to [php extension support](https://github.com/shivammathur/setup-php#heavy_plus_sign-php-extension-support) for more details." > Php-extensions-loaded-on-"$os".md
119119
for version in 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 8.5; do
120120
if [[ "${os%-*}" = "macos" ]]; then

.github/workflows/php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
operating-system: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04, windows-2022, macos-13]
31+
operating-system: [ubuntu-24.04, ubuntu-22.04, windows-2022, macos-13]
3232
php-versions: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
3333
include:
3434
- operating-system: ubuntu-24.04

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ Both `GitHub-hosted` and `self-hosted` runners are supported by `setup-php` on t
7272
|---------------------|---------|------------------------------------|------------------------|
7373
| Ubuntu 24.04 | x86_64 | `ubuntu-latest` or `ubuntu-24.04` | `PHP 8.3` |
7474
| Ubuntu 22.04 | x86_64 | `ubuntu-22.04` | `PHP 8.1` |
75-
| Ubuntu 20.04 | x86_64 | `ubuntu-20.04` | `PHP 7.4` to `PHP 8.3` |
7675
| Ubuntu 24.04 | aarch64 | `ubuntu-24.04-arm` | `PHP 8.3` |
7776
| Ubuntu 22.04 | aarch64 | `ubuntu-22.04-arm` | `PHP 8.1` |
7877
| Windows Server 2025 | x64 | `windows-2025` | `PHP 8.3` |
@@ -88,7 +87,6 @@ Both `GitHub-hosted` and `self-hosted` runners are supported by `setup-php` on t
8887
|----------------------------------|----------------------------|
8988
| Ubuntu 24.04 | `self-hosted` or `Linux` |
9089
| Ubuntu 22.04 | `self-hosted` or `Linux` |
91-
| Ubuntu 20.04 | `self-hosted` or `Linux` |
9290
| Debian 12 | `self-hosted` or `Linux` |
9391
| Debian 11 | `self-hosted` or `Linux` |
9492
| Windows 7 and newer | `self-hosted` or `Windows` |
@@ -722,7 +720,7 @@ jobs:
722720

723721
Run the workflow locally with `act` using [`shivammathur/node`](https://github.com/shivammathur/node-docker "Docker image to run setup-php") docker images.
724722

725-
Choose the image tag which matches the `runs-on` property in your workflow. For example, if you are using `ubuntu-20.04` in your workflow, run `act -P ubuntu-20.04=shivammathur/node:2004`.
723+
Choose the image tag which matches the `runs-on` property in your workflow. For example, if you are using `ubuntu-22.04` in your workflow, run `act -P ubuntu-22.04=shivammathur/node:2204`.
726724

727725
```bash
728726
# For runs-on: ubuntu-latest
@@ -733,9 +731,6 @@ act -P ubuntu-24.04=shivammathur/node:2404
733731
734732
# For runs-on: ubuntu-22.04
735733
act -P ubuntu-22.04=shivammathur/node:2204
736-
737-
# For runs-on: ubuntu-20.04
738-
act -P ubuntu-20.04=shivammathur/node:2004
739734
```
740735

741736
### JIT Configuration

0 commit comments

Comments
 (0)