Skip to content

Commit 4c5e005

Browse files
authored
Update test version-map, remove hardcoded 'true'
1 parent 689035e commit 4c5e005

File tree

3 files changed

+2
-13
lines changed

3 files changed

+2
-13
lines changed

src/Add-DistributedTaskPackage -PackageType .ps1

-11
This file was deleted.

src/Runner.Listener/SelfUpdater.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ private async Task DownloadLatestRunner(CancellationToken token, string targetVe
186186
// Add files like 'runner_v2.281.2.tar.gz' or 'runner_v2.283.0.zip' depending on your platform in your runner root folder
187187
// Note that runners still need to be behind the server's runner version in order to receive an 'AgentRefreshMessage' and trigger this update
188188
// This should not be in the release build to prevent tampering with updates
189-
if (true || StringUtil.ConvertToBoolean(Environment.GetEnvironmentVariable("GITHUB_ACTIONS_RUNNER_IS_MOCK_UPDATE")))
189+
if (StringUtil.ConvertToBoolean(Environment.GetEnvironmentVariable("GITHUB_ACTIONS_RUNNER_IS_MOCK_UPDATE")))
190190
{
191191
var waitForDebugger = StringUtil.ConvertToBoolean(Environment.GetEnvironmentVariable("GITHUB_ACTIONS_RUNNER_IS_MOCK_UPDATE_WAIT_FOR_DEBUGGER"));
192192
if (waitForDebugger)
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"targetVersion":"2.284.1"}, {"targetVersion":"2.284.1"}]
1+
{ "2.283.2": {"targetVersion":"2.284.1"}, "2.284.1": {"targetVersion":"2.285.0"}}

0 commit comments

Comments
 (0)