File tree Expand file tree Collapse file tree 1 file changed +8
-33
lines changed
Expand file tree Collapse file tree 1 file changed +8
-33
lines changed Original file line number Diff line number Diff line change 1- name : Publish NuGet Package
2- on :
3- push :
4- tags :
5- - " *"
1+ name : tests
2+
3+ on : [push, pull_request]
64
75jobs :
86 build :
97 runs-on : ubuntu-latest
108 container :
11- image : mcr.microsoft.com/dotnet/sdk:10.0
9+ image : mcr.microsoft.com/dotnet/nightly/ sdk:10.0-preview-alpine
1210
1311 steps :
1412 - uses : actions/checkout@v4
15-
16- - name : publish RustParserCs
17- run : |
18- dotnet publish -c Release
19- dotnet pack
20- dotnet nuget push --skip-duplicate nupkg/*.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json
21- working-directory : ./Parsers/RustParserCs
22- env :
23- NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
24-
25- - name : publish Prover
26- run : |
27- dotnet publish -c Release
28- dotnet pack
29- dotnet nuget push --skip-duplicate nupkg/*.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json
30- working-directory : ./Prover
31- env :
32- NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
33-
34- - name : publish Tool
13+
14+ - name : Run tests
3515 run : |
36- dotnet publish -c Release
37- dotnet pack
38- dotnet nuget push --skip-duplicate nupkg/*.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json
39- working-directory : ./Tool
40- env :
41- NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
42-
16+ dotnet test
17+ working-directory : .
You can’t perform that action at this time.
0 commit comments