fix: second fix in unit from string #152
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build master | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use .NET Core 6.0 SDK | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.x' | |
- name: Build | |
if: runner.os != 'Windows' | |
run: | | |
chmod +x ./build.sh | |
./build.sh | |
env: | |
# Work around https://github.com/actions/setup-dotnet/issues/29 | |
DOTNET_ROOT: ${{ runner.tool_cache }}/dncs/${{ matrix.dotnet }}/x64 | |
CI: true | |
- name: Build | |
if: runner.os == 'Windows' | |
run: ./build.cmd | |
env: | |
# Work around https://github.com/actions/setup-dotnet/issues/29 | |
DOTNET_ROOT: ${{ runner.tool_cache }}/dncs/${{ matrix.dotnet }}/x64 | |
CI: true |