fix for ubuntu vm build (github action) #7
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: .NET | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
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 (optional, if your script runs dotnet commands) | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
# Run your custom build script | |
- name: Build with Custom Script | |
run: pwsh -File Utils/Build-RscSdk.ps1 |