Skip to content

Commit 6cf59a0

Browse files
committed
support macos with matrix
1 parent 92c0e78 commit 6cf59a0

File tree

2 files changed

+6
-37
lines changed

2 files changed

+6
-37
lines changed

.github/workflows/use-action-macos.yaml

-35
This file was deleted.

.github/workflows/use-action.yaml

+6-2
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,19 @@ on:
77
jobs:
88
use-action:
99
name: Use Action
10-
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
platform: [ubuntu-latest, macos-latest]
13+
runs-on: ${{ matrix.platform }}
14+
1115
steps:
1216
- uses: actions/setup-go@v2
1317
with:
1418
go-version: 1.16
1519
- uses: actions/checkout@v2
1620

1721
# Minimal publish
18-
- uses: imjasonh/setup-ko@v0.1
22+
- uses: imjasonh/setup-ko@main
1923
- run: ko publish --bare ./
2024

2125
# Install an old release.

0 commit comments

Comments
 (0)