Disable v2 workflows temporarily

This commit is contained in:
crazywhalecc
2026-04-13 11:17:55 +08:00
parent 165372d17b
commit f6f7b629e3
3 changed files with 248 additions and 246 deletions

View File

@@ -2,9 +2,9 @@ name: Build SPC Binary
on:
push:
branches: [ "main" ]
branches: [ "main", "v3" ]
pull_request:
branches: [ "main" ]
branches: [ "main", "v3" ]
paths:
- '.github/workflows/release-build.yml'
release:

View File

@@ -106,6 +106,7 @@ jobs:
run: SPC_LIBC=glibc vendor/bin/phpunit tests/ --no-coverage
define-matrix:
if: false # TODO: enable when refactoring workflows
name: "Define Matrix"
runs-on: ubuntu-latest
outputs:
@@ -131,6 +132,7 @@ jobs:
build:
if: false
name: "Build PHP Test (PHP ${{ matrix.php }} ${{ matrix.os }})"
runs-on: ${{ matrix.os }}
needs: [define-matrix, php-cs-fixer, phpstan, phpunit]

View File

@@ -2,9 +2,9 @@ name: Docs Auto Deploy
on:
push:
branches:
- main
- v3
paths:
- 'config/**.json'
- 'config/**.yml'
- 'docs/**'
- 'package.json'
- 'yarn.lock'
@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'crazywhalecc/static-php-cli'
steps:
- name: Checkout master
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v3