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