Skip to content

Commit

Permalink
simpler build
Browse files Browse the repository at this point in the history
  • Loading branch information
DanHarltey committed Jan 17, 2024
1 parent 0a08a54 commit 0beb116
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@ name: GitHub action build
on: push

jobs:
Main-build_windows:
main-build:

runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

runs-on: ubuntu-latest
steps:
- name: GIT checkout
uses: actions/checkout@v4
Expand All @@ -23,3 +28,29 @@ jobs:
else
./dotnet_build.sh
fi
- name: Upload test coverage to Coveralls
uses: coverallsapp/github-action@v2
with:
format: lcov
files: coverage.net8.info coverage.net48.info
- name: Upload NuGet packages
uses: actions/upload-artifact@v4
if: runner.os == 'Linux'
with:
name: NuGet packages
path: release\Fastenshtein.*.*upkg

- name: Upload code coverage
uses: actions/upload-artifact@v4
if: runner.os == 'Linux'
with:
name: code coverage
path: release/coverage.*.info

- name: Upload dotnet info
uses: actions/upload-artifact@v4
if: runner.os == 'Linux'
with:
path: release/dotnet_info.txt

0 comments on commit 0beb116

Please sign in to comment.