we'll probably get this right until 1.0
authorMichael Wallner <mike@php.net>
Wed, 2 Feb 2022 07:12:13 +0000 (08:12 +0100)
committerMichael Wallner <mike@php.net>
Wed, 2 Feb 2022 07:12:13 +0000 (08:12 +0100)
.github/workflows/release.yml

index 98b913d100c753cb351282cdefe5608279d79aac..83cf507c5a26be41e82d99ee069c9dea67f6b295 100644 (file)
@@ -10,10 +10,10 @@ jobs:
       - uses: actions/checkout@v2
       - name: Install
         run: |
+          PHP_V=$(basename $(readlink /etc/alternatives/php)); \
           sudo apt-get install -y \
-            php-cli \
-            php-phar \
-            php-posix
+            $PHP_V-phar \
+            $PHP_V-posix
       - name: Composer
         run: composer require m6w6/pharext
       - name: Pharext