Skip to content

Commit f79a1e6

Browse files
authored
Update ci.yml
1 parent 31d8106 commit f79a1e6

1 file changed

Lines changed: 24 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,42 @@ concurrency:
88
cancel-in-progress: true
99

1010
jobs:
11-
dummy:
12-
name: 'Checkout'
11+
dummy_1:
12+
name: 'Dummy Task 1'
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 5
1515

1616
steps:
1717
- name: Print pull request number as annotation
1818
run: |
1919
if [ "${{ github.event_name }}" = "pull_request" ]; then
20-
echo "::debug title=Pull Request Number::The PR number is ${{ github.event.number }}"
20+
echo "::notice title=Pull Request Number::The PR number is ${{ github.event.number }}"
2121
fi
2222
2323
echo "test1" >> $GITHUB_STEP_SUMMARY
2424
echo "test2" >> $GITHUB_STEP_SUMMARY
2525
26-
- name: Checkout repo
27-
uses: actions/checkout@v5
28-
with:
29-
fetch-depth: 1
26+
- name: Print 200 lines then fail
27+
run: |
28+
for i in $(seq 1 200); do
29+
echo "Dummy line $i"
30+
done
31+
false
32+
33+
dummy_2:
34+
name: 'Dummy Task 2'
35+
runs-on: ubuntu-latest
36+
timeout-minutes: 5
37+
38+
steps:
39+
- name: Print pull request number as annotation
40+
run: |
41+
if [ "${{ github.event_name }}" = "pull_request" ]; then
42+
echo "::notice title=Pull Request Number::The PR number is ${{ github.event.number }}"
43+
fi
44+
45+
echo "test1" >> $GITHUB_STEP_SUMMARY
46+
echo "test2" >> $GITHUB_STEP_SUMMARY
3047
3148
- name: Print 200 lines then fail
3249
run: |

0 commit comments

Comments
 (0)