Skip to content

Commit 41c7508

Browse files
committed
Use GITHUB_OUTPUT correctly
1 parent e89175a commit 41c7508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-snapshots/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ runs:
2626
print(failures[names(failures) != "result"])
2727
print(failures$result)
2828
testthat::snapshot_accept()
29-
writeLines("changed=true" >> $GITHUB_OUTPUT)
29+
writeLines("changed=true", Sys.getenv("GITHUB_OUTPUT"))
3030
} else {
3131
writeLines("Snapshot tests ran successfully.")
3232
}

0 commit comments

Comments
 (0)