Skip to content

Commit 5a5cf4b

Browse files
committed
add strategy
1 parent a3502c3 commit 5a5cf4b

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,18 @@ permissions:
1111
contents: write
1212

1313
jobs:
14-
build:
14+
test:
15+
name: Run tests
1516
strategy:
1617
matrix:
1718
include:
1819
- { target: linux-64, os: ubuntu-latest }
1920
fail-fast: false
20-
2121
runs-on: ${{ matrix.os }}
2222
timeout-minutes: 5
23-
2423
defaults:
2524
run:
2625
shell: bash
27-
test:
28-
name: Run tests
29-
runs-on: ubuntu-latest
3026
steps:
3127
- name: Checkout code
3228
uses: actions/checkout@v4
@@ -38,7 +34,16 @@ jobs:
3834
3935
package:
4036
name: Create package
41-
runs-on: ubuntu-latest
37+
strategy:
38+
matrix:
39+
include:
40+
- { target: linux-64, os: ubuntu-latest }
41+
fail-fast: false
42+
runs-on: ${{ matrix.os }}
43+
timeout-minutes: 5
44+
defaults:
45+
run:
46+
shell: bash
4247
steps:
4348
- name: Checkout code
4449
uses: actions/checkout@v4

0 commit comments

Comments
 (0)