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: on:
push: push:
branches: [ "main" ] branches: [ "main", "v3" ]
pull_request: pull_request:
branches: [ "main" ] branches: [ "main", "v3" ]
paths: paths:
- '.github/workflows/release-build.yml' - '.github/workflows/release-build.yml'
release: release:

View File

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

View File

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