Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
TingluoHuang committed Jun 18, 2019
1 parent 0e62f2d commit 650ccde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Runner.Worker/ActionManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ private async Task DownloadRepositoryActionAsync(IExecutionContext executionCont
var authToken = Environment.GetEnvironmentVariable("_GITHUB_ACTION_TOKEN");
if (string.IsNullOrEmpty(authToken))
{
authToken = executionContext.Variables.Get("_GITHUB_PRIVATE_ACTION_TOKEN");
authToken = executionContext.Variables.Get("PREVIEW_ACTION_TOKEN");
}

if (!string.IsNullOrEmpty(authToken))
Expand Down

0 comments on commit 650ccde

Please sign in to comment.