File tree Expand file tree Collapse file tree 5 files changed +9
-10
lines changed
Expand file tree Collapse file tree 5 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 9191 # we use rsync here because it's simply faster to install
9292 rsync -avi /cache/nix/$cache_key/.nix-* $HOME/
9393 rsync -avi "/cache/nix/$cache_key/nix" $HOME/.config/
94- rsync -avi "/cache/nix/$cache_key/nix_store/var/" /nix/var
95- sudo mount --bind /cache/nix/$cache_key/nix_store/store /nix/store
94+ # rsync -avi "/cache/nix/$cache_key/nix_store/var/" /nix/var
95+ # sudo mount --bind /cache/nix/$cache_key/nix_store/store /nix/store
9696 else
9797 sudo mkdir -p "/cache/nix/$cache_key"
9898 sudo chown $(whoami):$(whoami) "/cache/nix/$cache_key"
@@ -193,8 +193,7 @@ runs:
193193
194194 #requires to preserve read only during clone
195195 sudo ${CLONE_COMMAND} /nix/store/ /cache/nix/$cache_key/nix_store/store
196- # see https://github.com/NixOS/nix/commit/a5919f4754be6f4a9fe091e0ee5538ad85af0050 for why those two are excluded
197- sudo ${CLONE_COMMAND} /nix/var/ "/cache/nix/$cache_key/nix_store/var" --exclude "/profiles/**" --exclude "/gcroots/**"
196+ # sudo ${CLONE_COMMAND} /nix/var/ "/cache/nix/$cache_key/nix_store/var"
198197
199198 echo "done" > "/cache/nix/$cache_key/cached"
200199 fi
Original file line number Diff line number Diff line change 6464 with :
6565 artifactory_user : ${{ inputs.artifactory_user }}
6666 artifactory_password : ${{ inputs.artifactory_password }}
67- cache_version : 666632-2
67+ cache_version : 666632
6868 should_save : ${{ inputs.save_nix_cache }}
6969 should_save_gcp : ${{ inputs.save_nix_cache_to_gcp }}
7070 oss_only : ${{ inputs.oss_only }}
7676 id : setup_sbt
7777 uses : ./.github/actions/sbt/setup_sbt
7878 with :
79- cache_version : 666632-2
79+ cache_version : 666632
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ runs:
141141 id : setup_sbt
142142 uses : ./.github/actions/sbt/setup_sbt
143143 with :
144- cache_version : 666632-2
144+ cache_version : 666632
145145
146146 - name : Set Daml package versions
147147 uses : ./.github/actions/nix/run_bash_command_in_nix
@@ -285,7 +285,7 @@ runs:
285285 if : ${{ !cancelled() }}
286286 uses : ./.github/actions/sbt/post_sbt
287287 with :
288- cache_version : 666632-2
288+ cache_version : 666632
289289 setup_sbt_cache_hits : ${{ steps.setup_sbt.outputs.cache_hits }}
290290 # Save caches only from one runner, to reduce conflicts on the save
291291 save_caches : ${{ inputs.runner_index == 0 && inputs.test_suite_name == 'wall-clock-time' }}
Original file line number Diff line number Diff line change 4848 - name : Post-SBT job
4949 uses : ./.github/actions/sbt/post_sbt
5050 with :
51- cache_version : 666632-2
51+ cache_version : 666632
5252 setup_sbt_cache_hits : ${{ steps.setup.outputs.sbt_cache_hits }}
5353
5454 - name : Report Failures on Slack & Github
Original file line number Diff line number Diff line change 5757 if : steps.skip.outputs.skip != 'true'
5858 uses : ./.github/actions/sbt/post_sbt
5959 with :
60- cache_version : 666632-2
60+ cache_version : 666632
6161 setup_sbt_cache_hits : ${{ steps.setup.outputs.sbt_cache_hits }}
6262
6363 - name : Upload logs
You can’t perform that action at this time.
0 commit comments