Skip to content

Commit

Permalink
os info
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshkumar1019 committed Mar 15, 2024
1 parent b36446e commit a1dff9a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/veracode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,21 @@ jobs:
</server>
</servers>
</settings>' > ~/.m2/settings.xml
- name: Get OS Details
run: |
if [ -f /etc/os-release ]; then
source /etc/os-release
echo "Operating System: $PRETTY_NAME"
elif [ -f /etc/redhat-release ]; then
cat /etc/redhat-release
elif [ -f /etc/centos-release ]; then
cat /etc/centos-release
elif [ -f /etc/debian_version ]; then
cat /etc/debian_version
else
echo "Unable to determine operating system"
fi
- name: view settings.xml
run : cat ~/.m2/settings.xml
Expand Down

0 comments on commit a1dff9a

Please sign in to comment.