Skip to content

Commit

Permalink
Address code review
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Jul 25, 2024
1 parent f079b7c commit 80a37aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions Miniforge3/mambaforge_deprecation.bat
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/bin/bash

if "$GITHUB_ACTIONS"=="1" (
if "%GITHUB_ACTIONS%"=="true" (
echo ::warning title=Mambaforge is now deprecated!::Future Miniforge releases will NOT build Mambaforge installers. We advise you switch to Miniforge at your earliest convenience.
)
else (
msg "%sessionname%" Mambaforge is now deprecated! Future Miniforge releases will NOT build Mambaforge installers. We advise you switch to Miniforge at your earliest convenience.
timeout /t 30 /nobreak
)
echo Sleeping for 30s...
powershell -nop -c "& {sleep 30}"
6 changes: 3 additions & 3 deletions Miniforge3/mambaforge_deprecation.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash

if [[ "$GITHUB_ACTIONS" == "1" ]]; then
if [[ "$GITHUB_ACTIONS" == "true" ]]; then
echo "::warning title=Mambaforge is now deprecated!::Future Miniforge releases will NOT build Mambaforge installers. We advise you switch to Miniforge at your earliest convenience."
else
echo "!!!!!! Mambaforge is now deprecated !!!!!"
echo "Future Miniforge releases will NOT build Mambaforge installers."
echo "We advise you switch to Miniforge at your earliest convenience."
echo "Sleeping for 30s..."
sleep 30
fi
echo "Sleeping for 30s..."
sleep 30

0 comments on commit 80a37aa

Please sign in to comment.