We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d005b8a commit 6a09614Copy full SHA for 6a09614
.github/workflows/pythonapp.yml
@@ -0,0 +1,35 @@
1
+name: Python application
2
+
3
+on: [push]
4
5
+jobs:
6
+ build01:
7
+ runs-on: [linux]
8
+ steps:
9
+ - uses: actions/checkout@master
10
+ - name: Set up Python 3.7
11
+ uses: actions/setup-python@master
12
+ with:
13
+ python-version: 3.7
14
15
+ build02:
16
+ name: my first job
17
18
19
+ - name: checkout
20
+ uses: actions/checkout@master
21
+ - name: Run a single-line script
22
+ run: echo "python"
23
24
+ build03:
25
+ name: my second job
26
27
28
+ - name: Run a multi-line script
29
+ env:
30
+ MY_VAR: Python 3.8
31
+ MY_NAME: IMOOC
32
+ run: |
33
+ echo $MY_VAR
34
+ echo My name is $MY_NAME
35
0 commit comments