Skip to content

Commit 8e53484

Browse files
committed
Start adding github actions
1 parent c51f031 commit 8e53484

File tree

3 files changed

+31
-21
lines changed

3 files changed

+31
-21
lines changed

.github/workflows/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Main
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
build-test:
11+
name: Build and Test
12+
runs-on: [windows-latest, x64]
13+
timeout-minutes: 15
14+
15+
steps:
16+
- name: Check out code
17+
uses: actions/checkout@v4
18+
19+
- name: Set up .NET
20+
uses: actions/setup-dotnet@v4
21+
with:
22+
dotnet-version: '6.0.x'
23+
24+
- name: Build
25+
run: |
26+
dotnet msbuild DynamoPythonNet3.sln -p:Configuration=Release -restore
27+
28+
- name: Test
29+
run: dotnet test

DSPythonNet3/DSPythonNet3.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
<ItemGroup>
1111
<InternalsVisibleTo Include="PythonMigrationViewExtension" />
1212
<InternalsVisibleTo Include="DynamoPythonTests" />
13-
13+
1414
<PackageReference Include="DynamoVisualProgramming.Core" Version="$(DynamoPackageVersion)" ExcludeAssets="runtime" />
1515
<PackageReference Include="DynamoVisualProgramming.DynamoServices" Version="$(DynamoPackageVersion)" ExcludeAssets="runtime" />
1616
<PackageReference Include="Python.Included" Version="3.11.6" />
17-
<PackageReference Include="pythonnet" Version="3.1.0-preview-ADSK-*" />
17+
<PackageReference Include="Autodesk.pythonnet" Version="3.1.0-preview-*" />
1818
</ItemGroup>
1919
<ItemGroup>
2020
<Compile Update="Properties\Resources.Designer.cs">

nuget.config

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)