Skip to content

Commit 01d2b7b

Browse files
authored
Update dotnet.yml
1 parent 7724c31 commit 01d2b7b

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

.github/workflows/dotnet.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,25 @@ jobs:
4040
- uses: actions/download-artifact@v4
4141
with:
4242
name: cstojs-artifact
43-
path: /artifact/
43+
path: ~/artifact/
4444
- name: Display structure of downloaded files
45-
run: ls -R /artifact/
45+
run: ls -R ~/artifact/
46+
- name: Clone CSTOJS_Tests
47+
uses: whyakari/[email protected]
48+
with:
49+
owner: TiLied
50+
repository: CSTOJS_Tests
51+
- name: Access cloned repository content
52+
run: |
53+
cd CSTOJS_Tests
54+
ls -la
55+
- name: Setup .NET
56+
uses: actions/setup-dotnet@v4
57+
with:
58+
dotnet-version: 8.0.x
59+
- name: Delete reference
60+
run: dotnet reference remove CSharpToJavaScript/CSharpToJavaScript.csproj --project CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj
61+
- name: Add reference
62+
run: dotnet add /home/runner/work/CSharpToJavaScript/CSharpToJavaScript/CSharpToJavaScript/CSharpToJavaScript.csproj --project CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj
63+
- name: Run tests
64+
run: dotnet test CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj

0 commit comments

Comments
 (0)