3636
3737 - name : Cache RMG-Py
3838 id : cache-rmg-py
39- uses : actions/cache@v2
39+ uses : actions/cache@v3
40+ env :
41+ CACHE_NUMBER : 2
4042 with :
4143 path : RMG-Py
4244 key : ${{ runner.os }}-rmg-main
5456
5557 - name : Cache RMG-database
5658 id : cache-rmg-db
57- uses : actions/cache@v2
59+ uses : actions/cache@v3
60+ env :
61+ CACHE_NUMBER : 2
5862 with :
5963 path : RMG-database
6064 key : ${{ runner.os }}-rmgdb-main
7175
7276 - name : Cache AutoTST
7377 id : cache-autotst
74- uses : actions/cache@v2
78+ uses : actions/cache@v3
7579 with :
7680 path : AutoTST
7781 key : ${{ runner.os }}-autotst-main
@@ -86,26 +90,26 @@ jobs:
8690 ref : main
8791 fetch-depth : 1
8892
89- - name : Cache TS-GCN
90- id : cache-tsgcn
91- uses : actions/cache@v2
92- with :
93- path : TS-GCN
94- key : ${{ runner.os }}-tsgcn-main
95- restore-keys : |
96- ${{ runner.os }}-tsgcn-
97- - name : Checkout TS-GCN
98- if : steps.cache-tsgcn.outputs.cache-hit != 'true'
99- uses : actions/checkout@v3
100- with :
101- repository : ReactionMechanismGenerator/TS-GCN
102- path : TS-GCN
103- ref : main
104- fetch-depth : 1
93+ # - name: Cache TS-GCN
94+ # id: cache-tsgcn
95+ # uses: actions/cache@v3
96+ # with:
97+ # path: TS-GCN
98+ # key: ${{ runner.os }}-tsgcn-main
99+ # restore-keys: |
100+ # ${{ runner.os }}-tsgcn-
101+ # - name: Checkout TS-GCN
102+ # if: steps.cache-tsgcn.outputs.cache-hit != 'true'
103+ # uses: actions/checkout@v3
104+ # with:
105+ # repository: ReactionMechanismGenerator/TS-GCN
106+ # path: TS-GCN
107+ # ref: main
108+ # fetch-depth: 1
105109
106110 - name : Cache KinBot
107111 id : cache-kinbot
108- uses : actions/cache@v2
112+ uses : actions/cache@v3
109113 with :
110114 path : KinBot
111115 key : ${{ runner.os }}-kinbot-2.0.6
@@ -122,7 +126,7 @@ jobs:
122126 fetch-depth : 1
123127
124128 - name : Cache Packages
125- uses : actions/cache@v2
129+ uses : actions/cache@v3
126130 env :
127131 CACHE_NUMBER : 0
128132 with :
@@ -140,7 +144,7 @@ jobs:
140144 conda-solver : libmamba
141145
142146 - name : Cache ARC env
143- uses : actions/cache@v2
147+ uses : actions/cache@v3
144148 with :
145149 path : ${{ env.CONDA }}/envs/arc_env
146150 key : conda-${{ runner.os }}--${{ runner.arch }}-arcenv-${{ env.CACHE_NUMBER}}
@@ -184,16 +188,16 @@ jobs:
184188 conda install -n tst_env -c conda-forge -y pyyaml
185189 cd ..
186190
187- - name : Install TS-GCN
188- run : |
189- cd TS-GCN
190- echo 'export PYTHONPATH=$PYTHONPATH:'"$(pwd)" >> $GITHUB_ENV
191- echo 'export PATH=$PATH:'"$(pwd)" >> $GITHUB_ENV
192- echo 'export PYTHONPATH=$PYTHONPATH:'"$(pwd)" >> ~/.bashrc
193- echo 'export PATH=$PATH:'"$(pwd)" >> ~/.bashrc
194- bash devtools/create_env_cpu.sh
195- conda env update -n ts_gcn -f environment.yml
196- cd ..
191+ # - name: Install TS-GCN
192+ # run: |
193+ # cd TS-GCN
194+ # echo 'export PYTHONPATH=$PYTHONPATH:'"$(pwd)" >> $GITHUB_ENV
195+ # echo 'export PATH=$PATH:'"$(pwd)" >> $GITHUB_ENV
196+ # echo 'export PYTHONPATH=$PYTHONPATH:'"$(pwd)" >> ~/.bashrc
197+ # echo 'export PATH=$PATH:'"$(pwd)" >> ~/.bashrc
198+ # bash devtools/create_env_cpu.sh
199+ # conda env update -n ts_gcn -f environment.yml
200+ # cd ..
197201
198202 - name : Install KinBot
199203 run : |
@@ -248,4 +252,4 @@ jobs:
248252 flags : unittests
249253 name : codecov-umbrella
250254 verbose : true
251- fail_ci_if_error : false
255+ fail_ci_if_error : false
0 commit comments