Skip to content

Updating JDK version in post-integration pipeline #27

Updating JDK version in post-integration pipeline

Updating JDK version in post-integration pipeline #27

Workflow file for this run

name: "Pre-Integration"
on:
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
dotnet5-build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: ๐Ÿ›’ Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: โš™๏ธ Setup dotnet 5.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: ๐Ÿงน Clean
run: dotnet clean -c Release && dotnet nuget locals all --clear
- name: ๐Ÿ” Restore packages
run: dotnet restore
- name: ๐Ÿ› ๏ธ Building library in release mode
run: dotnet build -c Release --no-restore
dotnet-test:
runs-on: ubuntu-latest
needs:
- dotnet5-build
steps:
- name: ๐Ÿ›’ Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: โš™๏ธ Setup dotnet 5.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: ๐Ÿ” Restore packages
run: dotnet restore
- name: ๐Ÿ› ๏ธ Build
run: dotnet build -c Release --no-restore /p:UseSourceLink=true
- name: ๐Ÿงช Run unit tests
run: dotnet test -c Release --no-build