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
33on : [push]
44
55jobs :
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
724 runs-on : ubuntu-20.04
825 steps :
926 - uses : actions/checkout@v2
3047 with :
3148 name : homework_result
3249 path : results.md
33- upload_to_wiki :
34- needs : test
50+
51+ upload_results_to_wiki :
52+ needs : run_tests
3553 runs-on : ubuntu-20.04
3654 steps :
3755 - uses : actions/checkout@v2
4866 git config user.name github-actions
4967 git config user.email github-actions@github.com
5068 git add .
51- git commit -m "generated "
69+ git commit -m "Update results "
5270 git push
5371
You can’t perform that action at this time.
0 commit comments