File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
actions/docker-install-macos Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : " Install Docker on macOS"
3+ description : " Performs an unattended install of Docker Desktop for MacOS"
4+ runs :
5+ using : " composite"
6+ steps :
7+ # From https://github.com/docker/for-mac/issues/2359#issuecomment-943131345
8+ - run : |
9+ brew install --cask docker
10+ sudo /Applications/Docker.app/Contents/MacOS/Docker --unattended --install-privileged-components
11+ open -a /Applications/Docker.app --args --unattended --accept-license
12+ while ! /Applications/Docker.app/Contents/Resources/bin/docker info &>/dev/null; do sleep 1; done
13+ shell: bash
14+ branding :
15+ icon : " tag"
16+ color : " blue"
17+ ...
Original file line number Diff line number Diff line change 2323 distribution : ' zulu'
2424 java-version : ${{ matrix.java }}
2525 cache : ' gradle'
26+ - name : Install Docker on macOS
27+ if : matrix.os == 'macos-latest'
28+ uses : ./.github/actions/docker-install-macos
29+ - name : docker version
30+ run : docker version
31+ - name : docker info
32+ run : docker info
2633 - name : clean build
2734 run : ./gradlew clean build --info --stacktrace
2835 - name : Publish Test Report
You can’t perform that action at this time.
0 commit comments