File tree Expand file tree Collapse file tree 1 file changed +22
-4
lines changed Expand file tree Collapse file tree 1 file changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,24 @@ name: CI
3
3
on : [push]
4
4
5
5
jobs :
6
- test :
6
+ upload_progress_bar_to_wiki :
7
+ runs-on : ubuntu-20.04
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ with :
11
+ repository : ${{ github.repository }}.wiki
12
+ path : wiki
13
+ - run : |
14
+ cd wiki
15
+ printf '%s\n%s\n' "## Tests are running! Please wait!" "" > Home.md
16
+ git config user.name github-actions
17
+ git config user.email github-actions@github.com
18
+ git add .
19
+ git commit --allow-empty -m "Add progress bar"
20
+ git push
21
+
22
+ run_tests :
23
+ needs : upload_progress_bar_to_wiki
7
24
runs-on : ubuntu-20.04
8
25
steps :
9
26
- uses : actions/checkout@v2
30
47
with :
31
48
name : homework_result
32
49
path : results.md
33
- upload_to_wiki :
34
- needs : test
50
+
51
+ upload_results_to_wiki :
52
+ needs : run_tests
35
53
runs-on : ubuntu-20.04
36
54
steps :
37
55
- uses : actions/checkout@v2
48
66
git config user.name github-actions
49
67
git config user.email github-actions@github.com
50
68
git add .
51
- git commit -m "generated "
69
+ git commit -m "Update results "
52
70
git push
53
71
You can’t perform that action at this time.
0 commit comments