Skip to content

Commit 91c3e7c

Browse files
committed
fix runindex
1 parent 8e87f1c commit 91c3e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/actions_log_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
assert.NoError(t, err)
8181

8282
// download task logs and check content
83-
runIndex := task.Context.GetFields()["run_number"].String()
83+
runIndex := task.Context.GetFields()["run_number"].GetStringValue()
8484
req := NewRequest(t, "GET", fmt.Sprintf("/%s/%s/actions/runs/%s/jobs/0/logs", user2.Name, repo.Name, runIndex)).
8585
AddTokenAuth(token)
8686
resp := MakeRequest(t, req, http.StatusOK)

0 commit comments

Comments
 (0)