Skip to content

Commit

Permalink
ci: replace-pkg-dep 指定默认分支
Browse files Browse the repository at this point in the history
  • Loading branch information
twinh committed Jun 1, 2022
1 parent b8bce76 commit 28996f0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
node-version: 14

- name: Replace package dependencies
run: npx replace-pkg-dep composer.json
run: npx replace-pkg-dep composer.json main

- name: Composer install
run: |
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
${{ runner.os }}-yarn-
- name: Replace package dependencies
run: npx replace-pkg-dep
run: npx replace-pkg-dep '' main

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
node-version: 14

- name: Replace package dependencies
run: npx replace-pkg-dep composer.json
run: npx replace-pkg-dep composer.json main

- name: Composer install
run: |
Expand Down Expand Up @@ -287,7 +287,7 @@ jobs:
node-version: 16

- name: Replace package dependencies
run: npx replace-pkg-dep composer.json
run: npx replace-pkg-dep composer.json main

- name: Composer install
run: |
Expand Down Expand Up @@ -347,7 +347,7 @@ jobs:
node-version: 16

- name: Replace package dependencies
run: npx replace-pkg-dep composer.json
run: npx replace-pkg-dep composer.json main

- name: Composer install
run: |
Expand Down Expand Up @@ -407,7 +407,7 @@ jobs:
node-version: 16

- name: Replace package dependencies
run: npx replace-pkg-dep composer.json
run: npx replace-pkg-dep composer.json main

- name: Composer install
run: |
Expand Down Expand Up @@ -467,7 +467,7 @@ jobs:
node-version: 16

- name: Replace package dependencies
run: npx replace-pkg-dep composer.json
run: npx replace-pkg-dep composer.json main

- name: Composer install
run: |
Expand Down Expand Up @@ -503,7 +503,7 @@ jobs:
${{ runner.os }}-yarn-
- name: Replace package dependencies
run: npx replace-pkg-dep package.json
run: npx replace-pkg-dep package.json main

- name: Yarn install
run: yarn install
Expand Down Expand Up @@ -537,7 +537,7 @@ jobs:
${{ runner.os }}-yarn-
- name: Replace package dependencies
run: npx replace-pkg-dep package.json
run: npx replace-pkg-dep package.json main

- name: Yarn install
run: yarn install
Expand Down

0 comments on commit 28996f0

Please sign in to comment.