Skip to content

Commit

Permalink
Output some info in example
Browse files Browse the repository at this point in the history
  • Loading branch information
maawad authored Jun 20, 2023
1 parent 3b46c48 commit d454086
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: rocm-setup
uses: neoblizz/[email protected].1-beta
uses: neoblizz/[email protected].3-beta
with:
rocm: '5.5.0'
- name: Check if running inside Docker
run: |
if grep -q "/docker/" /proc/1/cgroup; then
echo "Running inside Docker"
else
echo "Not running inside Docker"
fi
- name: Check if Docker is installed
run: |
if command -v docker &> /dev/null; then
echo "Docker is installed"
docker images
else
echo "Docker is not installed"
fi

0 comments on commit d454086

Please sign in to comment.