File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 22
22
apt update
23
23
apt install --yes sudo
24
24
sudo apt install --yes --no-install-recommends git
25
- # workaround for https://github.com/actions/runner/issues/2033
26
- - name : ownership workaround
27
- run : git config --global --add safe.directory '*'
28
25
29
26
- name : Setup .NET
30
27
run : |
@@ -161,9 +158,13 @@ jobs:
161
158
- name : Install required dependencies
162
159
run : |
163
160
apt update && apt install --yes sudo
164
- sudo apt install --yes --no-install-recommends git
165
161
166
162
sudo apt install --yes --no-install-recommends npm curl
163
+
164
+ sudo apt install --yes --no-install-recommends git
165
+ # workaround for https://github.com/actions/runner/issues/2033
166
+ git config --global --add safe.directory '*'
167
+
167
168
# need to update nodejs because with ubuntu's default nodejs version we would get this error:
168
169
# ```
169
170
# + npx commitlint --from HEAD~1 --to HEAD --verbose
@@ -182,9 +183,6 @@ jobs:
182
183
submodules : recursive
183
184
# needed because of commit-lint, see https://github.com/conventional-changelog/commitlint/issues/3376
184
185
fetch-depth : 0
185
- # workaround for https://github.com/actions/runner/issues/2033
186
- - name : ownership workaround
187
- run : git config --global --add safe.directory '*'
188
186
- name : Print versions
189
187
run : |
190
188
git --version
You can’t perform that action at this time.
0 commit comments