-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
747dee4
commit 38b27ed
Showing
1 changed file
with
21 additions
and
10 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,20 +39,26 @@ jobs: | |
name: Setup Bonsai | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup .NET Core SDK | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: 7.x | ||
dotnet-version: 8.x | ||
|
||
- name: Restore dotnet tools | ||
run: dotnet tool restore | ||
|
||
- name: Setup Bonsai | ||
working-directory: bonsai | ||
run: .\Setup.ps1 | ||
|
||
- name: Upload Bonsai Files | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: bonsai-files | ||
name: bonsai-environment | ||
path: bonsai | ||
|
||
|
||
tests: | ||
runs-on: windows-latest | ||
name: Testing ${{ matrix.python-version }} | ||
|
@@ -63,20 +69,25 @@ jobs: | |
python-version: ['3.11', '3.12', '3.13'] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Download Bonsai Files | ||
|
||
- name: Setup .NET Core SDK | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: 8.x | ||
|
||
- name: Restore dotnet tools | ||
run: dotnet tool restore | ||
|
||
- name: Download Bonsai artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: bonsai-files | ||
path: bonsai-files | ||
name: bonsai-environment | ||
path: bonsai-environment | ||
|
||
- name: Remove and Move Bonsai Files | ||
run: | | ||
Remove-Item -Recurse -Force bonsai\* | ||
move bonsai-files\* bonsai | ||
- name: Add .NET tools to PATH | ||
run: | | ||
$env:PATH += ";C:\Users\runner\.dotnet\tools" | ||
move bonsai-environment\* bonsai | ||
- uses: astral-sh/setup-uv@v3 | ||
with: | ||
|