Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidmonis authored Sep 30, 2024
1 parent 0160a9c commit a1e9436
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,22 @@ jobs:
run: dotnet restore
- name: Build
run: dotnet build --no-restore
# Install Homebrew
- name: Install Homebrew
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)" # Load Homebrew into the path
# Install Docker using Homebrew
- name: Install Docker
run: |
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
brew install docker
brew install docker-machine
brew install docker-compose
- name: Start Docker
run: |
open -a Docker
- name: Verify Docker is running
run: docker --version
- name: Test
Expand Down

0 comments on commit a1e9436

Please sign in to comment.