test #16
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: test | |
on: | |
workflow_dispatch: | |
jobs: | |
test-setup-v4: | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
fail-fast: false | |
matrix: | |
operating-system: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup dotnet 2.2.402, 3.1.404 and 3.0.x | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
6.0.x | |
8.0.x | |
- name: Set Environment Variables | |
run: | | |
echo "DOTNET_CLI_HOME=$HOME" >> $GITHUB_ENV | |
echo "HOME=$HOME" >> $GITHUB_ENV | |
- name: Run dotnet command | |
run: | | |
cd myProjectDirectory | |
dotnet build | |