Fix github actions golden paths

This commit is contained in:
David Dworken
2023-02-13 20:49:41 -08:00
parent 477c30230a
commit 413e2e438f

View File

@ -39,7 +39,11 @@ func getInitialWd() string {
return cwd return cwd
} }
components := strings.Split(cwd, "/hishtory/") components := strings.Split(cwd, "/hishtory/")
return components[0] + "/hishtory" dir := components[0] + "/hishtory"
if IsGithubAction() {
dir += "/hishtory"
}
return dir
} }
func ResetLocalState(t *testing.T) { func ResetLocalState(t *testing.T) {