From 887d94655880267e9f789aa96f9313f9a19ca6d9 Mon Sep 17 00:00:00 2001 From: aslan Date: Sat, 10 Feb 2024 12:38:00 +0300 Subject: [PATCH] fix CI --- .gitea/workflows/php.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/php.yml b/.gitea/workflows/php.yml index ef7022b..4e10ead 100644 --- a/.gitea/workflows/php.yml +++ b/.gitea/workflows/php.yml @@ -29,7 +29,7 @@ jobs: tools: composer:v2.6.6 ini-values: opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=64M env: - GITHUB_TOKEN: ${{ secrets.GITHUB }} + GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }} debug: true - name: PHP Security Checker @@ -40,20 +40,20 @@ jobs: with: node-version: ${{ matrix.node-version }} - - name: Add keys - run: | - sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub - sudo curl -o ~/.composer/keys.dev.pub -sL https://composer.github.io/snapshots.pub +# - name: Add keys +# run: | +# sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub +# sudo curl -o ~/.composer/keys.dev.pub -sL https://composer.github.io/snapshots.pub # - run: echo $COMPOSER_AUTH|jq -r '.["github-oauth"]["github.com"]'|base64 # - run: echo $GITHUB_TOKEN|base64 - - name: Diagnose composer - env: - COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works - run: composer diagnose -vvv - - name: Install dependencies - env: - COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works - run: composer install # will work +# - name: Diagnose composer +# env: +# COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works +# run: composer diagnose -vvv +# - name: Install dependencies +# env: +# COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works +# run: composer install # will work # - name: Setup sqlite3 driver # run: apt install php${{ matrix.php-versions }}-sqlite3 -y