返回提交历史
Modified
.github/workflows/copilot.yml
+6
-3
XFEstudio/gpt4free
Update (.github/workflows/copilot.yml)
71a2d0b4
代码差异
1 个文件
+6
-3
@@ -6,6 +6,9 @@ on:
6
6
types:
7
7
- completed
8
8
9
env:
10
FORCE_JAVASCRIPT_ACTIONS_TO_NODE20: true
11
9
12
jobs:
10
13
review:
11
14
runs-on: ubuntu-latest
@@ -14,9 +17,9 @@ jobs:
14
17
pull-requests: write
15
18
steps:
16
19
- name: Checkout Repo
17
uses: actions/checkout@v3
20
uses: actions/checkout@v4
18
21
- name: 'Download artifact'
19
uses: actions/github-script@v6
22
uses: actions/github-script@v7
20
23
with:
21
24
script: |
22
25
let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({
@@ -38,7 +41,7 @@ jobs:
38
41
- name: 'Unzip artifact'
39
42
run: unzip pr_number.zip
40
43
- name: Setup Python
41
uses: actions/setup-python@v4
44
uses: actions/setup-python@v5
42
45
with:
43
46
python-version: "3.x"
44
47
cache: 'pip'