about summary refs log tree commit diff
path: root/src/ci/github-actions
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2022-03-01 10:16:47 -0800
committerEric Huss <eric@huss.org>2022-03-01 10:16:47 -0800
commit43f83bc013270c7113cd75c27cc781df229c4645 (patch)
tree8a0950dcbe21a3ffe6064907ba3e56e338525dca /src/ci/github-actions
parent31267e80071d689230b7718fa0410a03af99798e (diff)
downloadrust-43f83bc013270c7113cd75c27cc781df229c4645.tar.gz
rust-43f83bc013270c7113cd75c27cc781df229c4645.zip
Move submodule checkout before msys2 installation.
For some reason, `tar` behaves differently in such a way that it does
not create symlinks on Windows correctly, resulting in
`Cannot create symlink to 'ld.gold': No such file or directory`
errors.
Diffstat (limited to 'src/ci/github-actions')
-rw-r--r--src/ci/github-actions/ci.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ci/github-actions/ci.yml b/src/ci/github-actions/ci.yml
index 8abf4244a38..5622422d50f 100644
--- a/src/ci/github-actions/ci.yml
+++ b/src/ci/github-actions/ci.yml
@@ -169,6 +169,10 @@ x--expand-yaml-anchors--remove:
         run: src/ci/scripts/disable-git-crlf-conversion.sh
         <<: *step
 
+      - name: checkout submodules
+        run: src/ci/scripts/checkout-submodules.sh
+        <<: *step
+
       - name: install MSYS2
         run: src/ci/scripts/install-msys2.sh
         <<: *step
@@ -194,10 +198,6 @@ x--expand-yaml-anchors--remove:
         run: src/ci/scripts/disable-git-crlf-conversion.sh
         <<: *step
 
-      - name: checkout submodules
-        run: src/ci/scripts/checkout-submodules.sh
-        <<: *step
-
       - name: ensure line endings are correct
         run: src/ci/scripts/verify-line-endings.sh
         <<: *step