Merge branch 'main' of https://github.com/ibois-epfl/script-sync #9
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: RhinoPlugin | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
#install net48 | |
- name: Install .NET Framework 4.8 | |
uses: microsoft/[email protected] | |
- name: Restore dependencies | |
run: dotnet restore ./CsRhino/ScriptSync.csproj # replace with your .csproj path | |
- name: Build | |
run: dotnet build ./CsRhino/ScriptSync.csproj --configuration Release --no-restore | |
- name: Save artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: CsRhino.rhp | |
path: ./CsRhino/bin/Release/netcoreapp3.1/CsRhino.rhp # replace with the path to your .rhp file |