Skip to content

Commit

Permalink
Add deprecation warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonforal committed Nov 5, 2024
1 parent d03da35 commit 16d867a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions misc/github-action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ if [ -z "$DD_APP_KEY" ]; then
exit 1
fi

if [ -n "$DD_ENV" ]; then
echo "::warning title=Deprecated environment variable::DD_ENV has been set, but it is no longer functional. This warning will be removed in a future update."
fi

if [ -n "$DD_SERVICE" ]; then
echo "::warning title=Deprecated environment variable::DD_SERVICE has been set, but it is no longer functional. This warning will be removed in a future update."
fi

if [ -z "$CPU_COUNT" ]; then
# the default CPU count is 2
CPU_COUNT=2
Expand Down

0 comments on commit 16d867a

Please sign in to comment.