Skip to content

Commit 83077c2

Browse files
authored
Increase timeout and add log handling steps
Increased timeout for the copilot setup job and added steps to prepare and upload Copilot runtime logs.
1 parent 65736cc commit 83077c2

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
copilot-setup-steps:
1414
runs-on: ubuntu-latest
15-
timeout-minutes: 30
15+
timeout-minutes: 60
1616
permissions:
1717
contents: read
1818

@@ -115,3 +115,19 @@ jobs:
115115
key: ${{ runner.os }}-next-${{ hashFiles('package-lock.json') }}
116116
restore-keys: |
117117
${{ runner.os }}-next-
118+
119+
# Prepare and (optionally) upload Copilot runtime logs to avoid warnings
120+
- name: Prepare Copilot runtime logs
121+
run: |
122+
mkdir -p /home/runner/work/_temp/runtime-logs
123+
: > /home/runner/work/_temp/runtime-logs/blocked.jsonl
124+
: > /home/runner/work/_temp/runtime-logs/blocked.md
125+
126+
- name: Upload Copilot runtime logs (if present)
127+
uses: actions/upload-artifact@v4
128+
with:
129+
name: copilot-runtime-logs
130+
path: |
131+
/home/runner/work/_temp/runtime-logs/blocked.jsonl
132+
/home/runner/work/_temp/runtime-logs/blocked.md
133+
if-no-files-found: ignore

0 commit comments

Comments
 (0)