Skip to content

Commit

Permalink
k
Browse files Browse the repository at this point in the history
  • Loading branch information
jaffinito committed Aug 3, 2023
1 parent de2e7a8 commit 82e3dc1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/post_deploy_agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,10 @@ jobs:

- name: Validate
run: |
sudo touch /etc/apt/sources.list.d/newrelic.list
echo 'deb https://apt.newrelic.com/debian/ newrelic non-free' | tee /etc/apt/sources.list.d/newrelic.list
wget -O- https://download.newrelic.com/548C16BF.gpg | apt-key add -
apt-get update
apt-get install newrelic-dotnet-agent
echo 'deb https://apt.newrelic.com/debian/ newrelic non-free' | sudo tee /etc/apt/sources.list.d/newrelic.list
wget -O- https://download.newrelic.com/548C16BF.gpg | sudo apt-key add -
sudo apt-get update
sudo apt-get install newrelic-dotnet-agent
installed_version=$(dpkg -s newrelic-dotnet-agent | grep -i version)
if [ "$AGENT_VERSION" = "$installed_version" ]; then
echo "Versions match."
Expand Down

0 comments on commit 82e3dc1

Please sign in to comment.