返回提交历史
Modified
.github/workflows/copilot.yml
+1
-3
XFEstudio/gpt4free
Update copilot.yml
ce30200e
代码差异
1 个文件
+1
-3
@@ -19,8 +19,6 @@ jobs:
19
19
uses: actions/github-script@v6
20
20
with:
21
21
script: |
22
import * as core from '@actions/core';
23
24
22
let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({
25
23
owner: context.repo.owner,
26
24
repo: context.repo.repo,
@@ -41,7 +39,7 @@ jobs:
41
39
fs.writeFileSync(`${process.env.GITHUB_WORKSPACE}/pr_number.zip`, Buffer.from(download.data));
42
40
}
43
41
- name: 'Unzip artifact'
44
if: ${{ review.outputs.hasArtifact == 'true' }}
42
if: ${{ hashFiles('pr_number.zip') != '' }}
45
43
run: unzip pr_number.zip
46
44
- name: Setup Python
47
45
uses: actions/setup-python@v4