This commit is contained in:
@@ -15,9 +15,7 @@ jobs:
|
|||||||
image: gitea-runner-php:latest
|
image: gitea-runner-php:latest
|
||||||
steps:
|
steps:
|
||||||
- name: 检出代码
|
- name: 检出代码
|
||||||
run: |
|
uses: actions/checkout@v4
|
||||||
git clone -b ${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }}.git .
|
|
||||||
git checkout ${{ github.sha }}
|
|
||||||
|
|
||||||
- name: 安装依赖
|
- name: 安装依赖
|
||||||
run: composer install --prefer-dist --no-progress --no-interaction
|
run: composer install --prefer-dist --no-progress --no-interaction
|
||||||
@@ -50,9 +48,7 @@ jobs:
|
|||||||
needs: lint
|
needs: lint
|
||||||
steps:
|
steps:
|
||||||
- name: 检出代码
|
- name: 检出代码
|
||||||
run: |
|
uses: actions/checkout@v4
|
||||||
git clone -b ${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }}.git .
|
|
||||||
git checkout ${{ github.sha }}
|
|
||||||
|
|
||||||
- name: 安装依赖
|
- name: 安装依赖
|
||||||
run: composer install --prefer-dist --no-progress --no-interaction
|
run: composer install --prefer-dist --no-progress --no-interaction
|
||||||
|
|||||||
Reference in New Issue
Block a user