This repository was archived by the owner on May 27, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ name : update_manifest
2+
3+ on :
4+ schedule :
5+ - cron : ' 0 0 * * 1'
6+
7+ jobs :
8+ update_manifest :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - uses : julia-actions/setup-julia@latest
13+ - name : Update packages
14+ id : update
15+ run : |
16+ log=$(julia --project -e "using Pkg; Pkg.update()")
17+ log="${log//'%'/'%25'}"
18+ log="${log//$'\n'/'%0A'}"
19+ log="${log//$'\r'/'%0D'}"
20+ echo "::set-output name=log::$log"
21+ - name : Get status
22+ id : status
23+ run : |
24+ log=$(julia --project -e "using Pkg; Pkg.status(diff=true)")
25+ log="${log//'%'/'%25'}"
26+ log="${log//$'\n'/'%0A'}"
27+ log="${log//$'\r'/'%0D'}"
28+ echo "::set-output name=log::$log"
29+ - name : Get Julia version
30+ id : version
31+ run : |
32+ log=$(julia -e "println(Base.VERSION)")
33+ echo "::set-output name=log::$log"
34+ - name : Create pull request
35+ uses : peter-evans/create-pull-request@v2
36+ with :
37+ token : ${{ secrets.GITHUB_TOKEN }}
38+ commit-message : |
39+ Update dependencies.
40+ ${{ steps.status.outputs.log }}
41+ title : Update manifest
42+ reviewers : maleadt
43+ body : |
44+ This pull request updates the manifest for Julia v${{ steps.version.outputs.log }}:
45+
46+ ```
47+ ${{ steps.status.outputs.log }}
48+ ```
49+
50+ <details><summary>Click here for the full update log.</summary>
51+ <p>
52+
53+ ```
54+ ${{ steps.update.outputs.log }}
55+ ```
56+
57+ </p>
58+ </details>
59+ branch : update_manifest
60+
You can’t perform that action at this time.
0 commit comments