Skip to content

fix for ubuntu vm build (github action) #7

fix for ubuntu vm build (github action)

fix for ubuntu vm build (github action) #7

Workflow file for this run

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