Skip to content

Commit dcd5dcd

Browse files
committed
first workslfow
1 parent 2f8b3ee commit dcd5dcd

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/first-workflow.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: First Workflow
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
workflow_dispatch: # Add this line to enable manual triggering
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v2
19+
20+
- name: Run a one-line script
21+
run: echo "Hello, GitHub Actions!"
22+
23+
job1:
24+
runs-on: ubuntu-latest
25+
26+
steps:
27+
- name: Step 1
28+
run: echo "Step 1 complete!"
29+
30+
- name: Step 2
31+
run: echo "Step 2 complete!"

0 commit comments

Comments
 (0)