Skip to content

Commit

Permalink
Update: 调整
Browse files Browse the repository at this point in the history
  • Loading branch information
NHZEX committed Nov 7, 2023
1 parent 7d0a715 commit d0cf281
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
restore-keys: |
${{ runner.os }}-composer-${{ env.IMAGE_VERSION }}-
${{ runner.os }}-composer-
- name: Prepare
- name: Prepare2
uses: ./.github/actions/ci-prepare
with:
env: ${{ env.ENV_SERVICE }}
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prepare#1
- name: Prepare1
run: |
echo "REPOSITORY_OWNER=${REPOSITORY_OWNER,,}" >>${GITHUB_ENV}
mkdir -p /tmp/base_cache/composer
Expand All @@ -140,7 +140,7 @@ jobs:
restore-keys: |
${{ runner.os }}-composer-${{ env.IMAGE_VERSION }}-
${{ runner.os }}-composer-
- name: Prepare
- name: Prepare2
uses: ./.github/actions/ci-prepare
with:
env: ${{ env.ENV_SERVICE }}
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/daily-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,20 @@ on:
push:
paths:
- ".github/workflows/daily-image-build.yml"
- ".github/swoole.dockerfile"
- ".github/php.dockerfile"
pull_request:
paths:
- ".github/workflows/daily-image-build.yml"
- ".github/swoole.dockerfile"
- ".github/php.dockerfile"

permissions:
contents: read
packages: write

jobs:
build-image:
build-swoole:
name: Linux Build-Image-${{ matrix.image.tag }}
runs-on: ubuntu-latest
strategy:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Prepare#1
- name: Prepare1
run: |
echo "REPOSITORY_OWNER=${REPOSITORY_OWNER,,}" >>${GITHUB_ENV}
mkdir -p /tmp/base_cache/composer
Expand All @@ -50,7 +50,7 @@ jobs:
${{ runner.os }}-phpcsfixer-${{ env.IMAGE_VERSION }}-
${{ runner.os }}-phpcsfixer-
- name: Prepare
- name: Prepare2
run: |
echo "::group::Env prepare"
docker-compose -f ./.github/docker-compose.yml up -d ${ENV_SERVICE}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Prepare#1
- name: Prepare1
run: |
echo "REPOSITORY_OWNER=${REPOSITORY_OWNER,,}" >>${GITHUB_ENV}
mkdir -p /tmp/base_cache/composer
Expand All @@ -45,7 +45,7 @@ jobs:
${{ runner.os }}-composer-${{ env.IMAGE_VERSION }}-
${{ runner.os }}-composer-
- name: Prepare
- name: Prepare2
run: |
echo "::group::Env prepare"
docker-compose -f ./.github/docker-compose.yml up -d ${ENV_SERVICE}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Prepare#1
- name: Prepare1
run: |
echo "REPOSITORY_OWNER=${REPOSITORY_OWNER,,}" >>${GITHUB_ENV}
mkdir -p /tmp/base_cache/composer
Expand All @@ -42,7 +42,7 @@ jobs:
${{ runner.os }}-composer-${{ env.IMAGE_VERSION }}-
${{ runner.os }}-composer-
- name: Prepare#2
- name: Prepare2
run: |
echo "::group::Env prepare"
docker-compose -f ./.github/docker-compose.yml up -d ${ENV_SERVICE}
Expand Down

0 comments on commit d0cf281

Please sign in to comment.