diff --git a/action.yml b/action.yml
index 0b33000..90d84a9 100644
--- a/action.yml
+++ b/action.yml
@@ -13,8 +13,7 @@ runs:
           echo "time=$(date +'%H:%M:%S')"
           echo "atom=$(date -u +'%Y-%m-%dT%H:%M:%SZ')"
           echo "atom_with_millis=$(date -u +'%Y-%m-%dT%H:%M:%S.%3NZ')"
-        } >> "$GITHUB_OUTPUT"
-
+        } | tee -a "$GITHUB_OUTPUT" >> "$GITHUB_ENV"
 outputs:
   datetime:
     description: "Current date and time in 'YYYY-MM-DD HH:MM:SS' format"