diff --git a/.github/scripts/common/lib.sh b/.github/scripts/common/lib.sh
index 00f8c089831ec03651fd060b73955ec95d154b4b..c9be21e45dcb2d5d8e3aca0987e53a25798cf2f5 100755
--- a/.github/scripts/common/lib.sh
+++ b/.github/scripts/common/lib.sh
@@ -297,7 +297,6 @@ fetch_release_artifacts_from_s3() {
   pwd
   ls -al --color
   popd > /dev/null
-  unset OUTPUT_DIR
 }
 
 # Pass the name of the binary as input, it will