Skip to content

Update ci.yml

Update ci.yml #12

Workflow file for this run

name: ci
on:
push:
pull_request:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
dummy_1:
name: 'Dummy Task 1'
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Print pull request number as annotation
run: |
if [ "${{ github.event_name }}" = "pull_request" ]; then
echo "::notice title=Pull Request Number::The PR number is %0A %0An%0A ${{ github.event.number }}"
fi
echo "test1" >> $GITHUB_STEP_SUMMARY
echo "test2" >> $GITHUB_STEP_SUMMARY
- name: Print 200 lines then fail
run: |
for i in $(seq 1 200); do
echo "Dummy line $i"
done
true
dummy_2:
name: 'Dummy Task 2'
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Print pull request number as annotation
run: |
if [ "${{ github.event_name }}" = "pull_request" ]; then
echo "::notice title=debug_pull_request_number_str::${{ github.event.number }}"
fi
echo "test1" >> $GITHUB_STEP_SUMMARY
echo "test2" >> $GITHUB_STEP_SUMMARY
- name: Print 200 lines then fail
run: |
for i in $(seq 1 200); do
echo "Dummy line $i"
done
false