File tree 1 file changed +19
-5
lines changed
1 file changed +19
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : Run titannet-docker
2
2
3
3
on :
4
- schedule :
5
- - cron : ' */30 * * * *'
6
- workflow_dispatch :
4
+ # schedule:
5
+ # - cron: '*/30 * * * *'
6
+ workflow_dispatch :
7
+ inputs :
8
+ node_id :
9
+ required : true
10
+ default : ' 0'
7
11
8
12
jobs :
9
13
run-titan-docker :
@@ -15,11 +19,21 @@ jobs:
15
19
with :
16
20
fetch-depth : 2
17
21
22
+ - name : Cache Primes
23
+ id : cache-data
24
+ uses : actions/cache@v4
25
+ with :
26
+ path : /home/runner/.titanedge
27
+ key : ${{ runner.os }}-titan-${{ inputs.node_id }}
28
+
18
29
- name : run
19
30
run : |
20
31
cd titan/
21
32
sudo chmod +x ./titan_start.sh
22
33
./titan_start.sh ${{ vars.TITAN_CODE }}
23
34
docker ps
24
- docker logs -f titan1 & docker logs -f titan2 & docker logs -f titan3 & docker logs -f titan4 & docker logs -f titan5
25
- while true; do sleep 10000; done
35
+ sleep 20880s
36
+
37
+ - name : Auth
38
+ run : |
39
+ sudo chmod -R 777 /home/runner/.titanedge
You can’t perform that action at this time.
0 commit comments