Skip to content

build(deps): bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #39

build(deps): bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows

build(deps): bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #39

Workflow file for this run

name: Build and Test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: Build OpenNLP.NET (Windows)
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Setup .NET 3.1 SDK
uses: actions/setup-dotnet@v2
with:
dotnet-version: 3.1.x
- name: Setup .NET 6.0 SDK
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Install local tools
run: dotnet tool restore
- name: Paket Restore
run: dotnet paket restore
- name: Build Tests and Binaries
run: dotnet fake run build.fsx -t "BuildTests"
- name: Upload NuGet Packages
uses: actions/upload-artifact@v3
with:
name: nuget
path: bin/*.nupkg
- name: Upload Tests
uses: actions/upload-artifact@v3
with:
name: tests
path: tests
test:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
needs:
- build
steps:
- uses: actions/checkout@v1
- name: Setup .NET 3.1 SDK
uses: actions/setup-dotnet@v2
with:
dotnet-version: 3.1.x
- name: Setup .NET 6.0 SDK
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Download OpenNLP.NET Tests
uses: actions/download-artifact@v4.1.7
with:
name: tests
path: tests
- name: Install local tools
run: dotnet tool restore
- name: Paket Restore
run: dotnet paket restore
- name: Run Tests
run: dotnet fake run build.fsx -t "RunTests" --single-target
- name: Upload Test Results
uses: actions/upload-artifact@v3
with:
name: TestResults-${{ matrix.os }}
path: TestResults