Skip to content

Commit

Permalink
fix runindex
Browse files Browse the repository at this point in the history
  • Loading branch information
Zettat123 committed Dec 23, 2024
1 parent 8e87f1c commit 91c3e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/actions_log_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
assert.NoError(t, err)

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

0 comments on commit 91c3e7c

Please sign in to comment.