Skip to content

Commit 2958aa6

Browse files
committed
added a workflow file.
1 parent 515d9b0 commit 2958aa6

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: GitHub Actions Demo
2+
run-name: ${{ github.actor }} is testing out GitHub Actions πŸš€
3+
on: [push]
4+
jobs:
5+
Explore-GitHub-Actions:
6+
runs-on: arc-runner-set
7+
steps:
8+
- run: echo "πŸŽ‰ The job was automatically triggered by a ${{ github.event_name }} event."
9+
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
10+
- run: echo "πŸ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
11+
- name: Check out repository code
12+
uses: actions/checkout@v4
13+
- run: echo "πŸ’‘ The ${{ github.repository }} repository has been cloned to the runner."
14+
- run: echo "πŸ–₯️ The workflow is now ready to test your code on the runner."
15+
- name: List files in the repository
16+
run: |
17+
ls ${{ github.workspace }}
18+
- run: echo "🍏 This job's status is ${{ job.status }}."
19+

β€Žmymodule.pyβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
# this is a comment
2+
13
def greeting(name):
24
print("Hello, "+name)
35

46
person1 = {
57
"name": "John",
68
"age": 36,
79
"country": "Norway"
8-
}
10+
}

0 commit comments

Comments
Β (0)