Skip to content

Commit df265cf

Browse files
Update main.yml
1 parent bbb4885 commit df265cf

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,12 @@ on:
22
push:
33
jobs:
44
main:
5-
runs-on: macos-14
5+
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
instance: [0, 1, 2, 3]
69
steps:
7-
- run: |
8-
set -x
9-
brew install docker colima
10-
colima start || (cat /Users/runner/.colima/_lima/colima/ha.stderr.log && exit 1)
11-
- run: docker run --rm ubuntu:jammy bash -c 'echo hi'
12-
main2:
13-
runs-on: macos-13
14-
steps:
15-
- run: |
16-
brew install docker colima
17-
colima start
18-
- run: docker run --rm ubuntu:jammy bash -c 'echo hi'
10+
- run: ip addr
11+
if: matrix.instance == 0
12+
- run: echo worker
13+
if: matrix.instance != 0

0 commit comments

Comments
 (0)