From a9fe3588f7c0e09430f4a24c808d20e3f1d75af6 Mon Sep 17 00:00:00 2001 From: Dengke Tang Date: Mon, 7 Nov 2022 16:59:20 -0800 Subject: [PATCH] try to install composer manually --- .github/workflows/ci.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9bded30..3e0435e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,14 +108,16 @@ jobs: # uses: actions/checkout@v2 # with: # submodules: recursive - - name: Setup Composer - uses: php-actions/composer@v6 + - name: Setup PHP 8.0 + uses: shivammathur/setup-php@v2 + with: + php-version: '8.0' + extensions: pecl_http - name: Build ${{ env.PACKAGE_NAME }} + consumers run: | - where composer - Get-Command composer - composer - composer.phar + php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" + php .\composer-setup.php + ls # macos: