We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16d89a1 commit d25a6fdCopy full SHA for d25a6fd
.github/workflows/build-x86_64-unknown-linux-gnu.yaml
@@ -45,8 +45,19 @@ jobs:
45
ASSET_NAME: "rust-${{ github.event.inputs.release_version }}-x86_64-unknown-linux-gnu.tar.xz"
46
ASSET_CONTENT_TYPE: "application/x-tar"
47
steps:
48
- - name: Initialize Docker
+ - name: Initialize docker
49
run: |
50
+ if ! launchctl list | grep -q com.docker.docker; then
51
+ echo "Starting Docker..."
52
+ open --background -a Docker
53
+ # Wait for Docker to start
54
+ while ! docker system info > /dev/null 2>&1; do
55
+ echo "Waiting for Docker to start..."
56
+ sleep 10
57
+ done
58
+ else
59
+ echo "Docker is already running."
60
+ fi
61
docker container rm rust-linux || echo "Container name rust-linux is available"
62
- name: Checkout repository
63
uses: actions/checkout@v5
0 commit comments