Skip to content

Commit

Permalink
Add workaround for Actions matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellockyer committed Nov 30, 2019
1 parent 5bdc72a commit 8989446
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,34 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
name: [
windows,
macos,
linux
]

include:
- os: ubuntu-latest
- name: linux
os: ubuntu-latest
artifact_name: sshh
asset_name: sshh-linux-amd64
- os: windows-latest
- name: windows
os: windows-latest
artifact_name: sshh.exe
asset_name: sshh-windows-amd64
- os: macos-latest
- name: macos
os: macos-latest
artifact_name: sshh
asset_name: sshh-macos-amd64

steps:
- uses: actions/checkout@v1

- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable

- name: Build
run: cargo build --release --locked

Expand Down

0 comments on commit 8989446

Please sign in to comment.