Skip to content

Commit

Permalink
run Utils/Build-RscSdk.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
guirava authored Mar 7, 2024
1 parent d968d9e commit 83f46cf
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: .NET

on:
Expand All @@ -16,13 +13,21 @@ jobs:

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
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal

# Run your custom build script
- name: Build with Custom Script
run: pwsh -File Utils/Build-RscSdk.ps1

0 comments on commit 83f46cf

Please sign in to comment.