Skip to content

Commit

Permalink
updated action to test on windows and mac too. i dount its needed rea…
Browse files Browse the repository at this point in the history
…lly, but better safe than sorry.
  • Loading branch information
Localghost385 committed May 27, 2024
1 parent 35ad0c8 commit d7e5ac6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ env:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v4
Expand All @@ -28,9 +31,9 @@ jobs:
run: cargo test --verbose

publish:
runs-on: ubuntu-latest
needs: build
if: ${{ needs.build.result == 'success' }}
runs-on: ${{ needs.build.outputs.os }}

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit d7e5ac6

Please sign in to comment.