We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09ca2c4 commit 5a5a9caCopy full SHA for 5a5a9ca
scripts/github-actions/ci-build.sh
@@ -4,10 +4,19 @@ set -eufo pipefail
4
# We want to see what's going on
5
set -x
6
7
+# The ruby version may have been set by the CI runner. Stash
8
+# changes while we check to see if we need to reformat the
9
+# code.
10
+git stash
11
+
12
# Fail the build if the format script needs to be re-run
13
./scripts/format.sh
14
git diff --exit-code
15
16
+# Now we're made it out, reapply changes made by the build
17
+# runner
18
+git stash apply
19
20
# The NPM repository rule wants to write to the HOME directory
21
# but that's configured for the remote build machines, so run
22
# that repository rule first so that the subsequent remote
0 commit comments