Skip to content

Commit

Permalink
support macos with matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh committed Apr 29, 2021
1 parent 92c0e78 commit 6cf59a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 37 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/use-action-macos.yaml

This file was deleted.

8 changes: 6 additions & 2 deletions .github/workflows/use-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,19 @@ on:
jobs:
use-action:
name: Use Action
runs-on: ubuntu-latest
strategy:
matrix:
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}

steps:
- uses: actions/setup-go@v2
with:
go-version: 1.16
- uses: actions/checkout@v2

# Minimal publish
- uses: imjasonh/setup-ko@v0.1
- uses: imjasonh/setup-ko@main
- run: ko publish --bare ./

# Install an old release.
Expand Down

0 comments on commit 6cf59a0

Please sign in to comment.