File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Daily Update Tracker
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ schedule :
8+ - cron : ' 0 12 * * *'
9+
10+ env :
11+ innoextract_version : 1.9
12+ arch : amd64
13+
14+ permissions :
15+ contents : write
16+
17+ jobs :
18+ build :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : Checkout code
22+ uses : actions/checkout@v3
23+
24+ - name : Update trackers_all.txt
25+ shell : pwsh
26+ run : |
27+ curl https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all.txt >> trackers_all.txt
28+ curl https://raw.githubusercontent.com/XIU2/TrackersListCollection/master/all.txt >> trackers_all.txt
29+ curl https://raw.githubusercontent.com/chenjia404/CnTrackersList/master/all.txt >> trackers_all.txt
30+ curl https://raw.githubusercontent.com/hezhijie0327/Trackerslist/main/trackerslist_tracker.txt >> trackers_all.txt
31+ sort trackers_all.txt | uniq > tmp.txt
32+ mv tmp.txt trackers_all.txt
33+
34+ - name : Commit and Push changes
35+ run : |
36+ echo $(date +'%Y%m%d') > date.txt
37+ git config --local user.email "[email protected] " 38+ git config --local user.name "GitHub Action"
39+ git add .
40+ git commit -am "$(date +'%Y%m%d')"
41+ git push -v --progress
You can’t perform that action at this time.
0 commit comments