Skip to content

Commit 312ef2c

Browse files
committed
fix patch again
1 parent 0225f77 commit 312ef2c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

modules/runners/templates/arm-runner-patch.tpl

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ diff -Naur a/bin/Runner.Listener.runtimeconfig.json b/bin/Runner.Listener.runtim
88
}
99
],
1010
"configProperties": {
11+
"System.Globalization.PredefinedCulturesOnly": false,
1112
- "System.Reflection.Metadata.MetadataUpdater.IsSupported": false
1213
+ "System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
1314
+ "System.Globalization.Invariant": true
@@ -23,6 +24,7 @@ diff -Naur a/bin/Runner.PluginHost.runtimeconfig.json b/bin/Runner.PluginHost.ru
2324
}
2425
],
2526
"configProperties": {
27+
"System.Globalization.PredefinedCulturesOnly": false,
2628
- "System.Reflection.Metadata.MetadataUpdater.IsSupported": false
2729
+ "System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
2830
+ "System.Globalization.Invariant": true
@@ -38,6 +40,7 @@ diff -Naur a/bin/Runner.Worker.runtimeconfig.json b/bin/Runner.Worker.runtimecon
3840
}
3941
],
4042
"configProperties": {
43+
"System.Globalization.PredefinedCulturesOnly": false,
4144
- "System.Reflection.Metadata.MetadataUpdater.IsSupported": false
4245
+ "System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
4346
+ "System.Globalization.Invariant": true

modules/runners/templates/install-runner.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ mkdir -p actions-runner && cd actions-runner
1818
if [[ -n "$RUNNER_TARBALL_URL" ]]; then
1919
echo "Downloading the GH Action runner from $RUNNER_TARBALL_URL to $file_name"
2020
curl -o $file_name -L "$RUNNER_TARBALL_URL"
21-
else
21+
else
2222
echo "Retrieving TOKEN from AWS API"
2323
token=$(curl -f -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 180")
2424

@@ -43,4 +43,4 @@ if [[ "$os_id" =~ ^ubuntu.* ]]; then
4343
fi
4444

4545
echo "Set file ownership of action runner"
46-
chown -R "$user_name":"$user_name" .
46+
chown -R "$user_name":"$user_name" .

0 commit comments

Comments
 (0)