Test token

This commit is contained in:
crazywhalecc
2024-06-25 01:59:22 +08:00
parent 10ad001f90
commit 2229103843

View File

@@ -132,13 +132,6 @@ jobs:
extensions: curl, openssl, mbstring
ini-values: memory_limit=-1
- name: "Use test token if exists"
if: matrix.os != 'windows-latest'
run: |
if [ "${{ secrets.TEST_GH_TOKEN }}" != "" ]; then
echo "GITHUB_TOKEN=${{ secrets.TEST_GH_TOKEN }}" >> $GITHUB_ENV
fi
- name: "Cache composer packages"
id: composer-cache
uses: actions/cache@v4
@@ -175,8 +168,6 @@ jobs:
- name: "Run Build Tests (download)"
run: |
echo $GITHUB_TOKEN | wc -m
echo ${{ secrets.TEST_GH_TOKEN }} | wc -m
bin/spc download --for-extensions="$(php src/globals/test-extensions.php extensions)" --for-libs="$(php src/globals/test-extensions.php libs)" --with-php=${{ matrix.php }} --ignore-cache-sources=php-src --debug --retry=5
- name: "Run Build Tests (build, *nix)"