Bump actions/checkout from 3 to 4 #110
Workflow file for this run
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 bHapticsLib | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET 5 | |
uses: actions/setup-dotnet@v3.2.0 | |
with: | |
dotnet-version: 5.0.x | |
- name: Setup .NET 6 | |
uses: actions/setup-dotnet@v3.2.0 | |
with: | |
dotnet-version: 6.0.x | |
- name: Restore Dependencies | |
run: dotnet restore | |
- name: Build Debug | |
shell: cmd | |
run: dotnet build -c Debug | |
- name: Upload Debug Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: bHapticsLib.CI.Debug | |
path: Output/Debug/ | |
- name: Build Release | |
shell: cmd | |
run: dotnet build -c Release | |
- name: Upload Release Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: bHapticsLib.CI.Release | |
path: Output/Release/ |