文件操作 - release_validate.yml
返回文件管理
返回主菜单
删除本文件
文件: /usr/local/src/imagick/.github/workflows/release_validate.yml
编辑文件内容
name: Validate pecl package on: push: pull_request: types: [opened, synchronize, reopened] release: types: [created] jobs: test_package_valid: name: basic PHP ${{ matrix.php }} runs-on: ubuntu-22.04 if: github.ref == 'refs/heads/master' strategy: fail-fast: false matrix: os: [ ubuntu-latest ] php: [ 5.6 ] steps: - name: Checkout code uses: actions/checkout@v5 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - name: Sanity check package.xml and install ImageMagick run: | bash validate_package.sh for file in tests/*.phpt; do grep $(basename $file) package.xml >/dev/null || (echo "Missing $file from package.xml" ; exit 1); done
修改文件时间
将文件时间修改为当前时间的前一年
删除文件