mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-27 07:51:14 +01:00
Fix github actions golden paths
This commit is contained in:
parent
477c30230a
commit
413e2e438f
@ -39,7 +39,11 @@ func getInitialWd() string {
|
||||
return cwd
|
||||
}
|
||||
components := strings.Split(cwd, "/hishtory/")
|
||||
return components[0] + "/hishtory"
|
||||
dir := components[0] + "/hishtory"
|
||||
if IsGithubAction() {
|
||||
dir += "/hishtory"
|
||||
}
|
||||
return dir
|
||||
}
|
||||
|
||||
func ResetLocalState(t *testing.T) {
|
||||
|
Loading…
Reference in New Issue
Block a user