Update and rename dotnet.yml to build.yml #1
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 SDK | |
on: | |
push: | |
branches: [ "main", "devel" ] | |
pull_request: | |
branches: [ "main", "devel" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# Install PowerShell | |
- name: Install PowerShell | |
run: | | |
# Update the list of products | |
sudo apt-get update | |
# Install a basic PowerShell environment | |
sudo apt-get install -y powershell | |
# Setup .NET | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
# Run build script | |
- name: Build-RscSdk.ps1 | |
run: pwsh -File Utils/Build-RscSdk.ps1 |